Hi Larry,

This won't help you much, but I was looking for the same thing for whole last 
year and did not find any cross-browser solution. It especially comes tricky 
when you load cftextarea as rich text editor (actudally FCKEditor).

>From what I remember (and could re-google) this 2 posts were most informative 
>of all I managed to find:

http://stackoverflow.com/questions/1253303/whats-the-best-way-to-set-cursor-caret-position

http://parentnode.org/javascript/working-with-the-cursor-position/

Best Regards,
Marko Simic

> On certain cfforms I would like to set the focus onload inside a 
> cftextarea with the cursor at the end of whatever is loaded in the 
> textarea.
> 
> I've looked at a variety of supposed solutions using javascript but so 
> far none seem to work correctly.
> 
> Anyone else done this?
> 
> Larry Stephens


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330861
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to