faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 6 people (17%) answered Yes
Recently 1 of 6 people (17%) answered Yes

Entry

i use createrange to get the select part ot text but i do not know how can i get its potion(index)

Apr 8th, 2008 18:56
ha mo, Dave Clark, farzane sh,


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Farzane,
     Perhaps this demo page will help you with that -- though this is 
IE-only:
http://www.daveclarkconsulting.com/research/edit_caret_position.html
Take care,
Dave Clark
www.DaveClarkConsulting.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com