Usonian
Member

Registered: Feb 2000
Location: Los Angeles, CA
Posts: 165 |
Well, JavaScript does have its limitations... AFAIK there's no way to determine with JavaScript the exact location of the cursor within an HTML Form <TEXTAREA>... but you can read the contents of a textarea into a variable, append whatever you want (A smilie, fr'instance), and replace the old contents with the new variable, effectively adding the smilie code at the end. You could add it at the beginning instead, but that would be even less useful. 
-Andy
__________________
<br>"Form follows function - that has been misunderstood. Form and function should be one, joined in a spiritual union" -Frank Lloyd Wright
|