• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

In Text Area, how to find the cursor location and insert

 
Paul Phoby
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Text Area, how to find the cursor location
Suppose my text in text area like this,
'Java Code
is very useful'
I want to insert 'script' in between 'Java' and 'Code'. I will keep my cursor location in between 'Java' and 'Code'. I will click on text 'script' by using the mouse. At that time 'script' should come in between 'Java' and 'Code'
 
Paul Phoby
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got the solution for my question. Go to the URL given below
http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_20192843.html

regards,
Phoby Paul
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic