robert_gsfame Posted June 1, 2010 Share Posted June 1, 2010 I have textarea and one button..when i click on the button i will have some tag for example :I i wish to have this tag wherever i put my cursor..so assume: Hello world when i put my cursor between hello and world then tag will be placed there As i am still new to javascript, how can i do it??? Link to comment https://forums.phpfreaks.com/topic/203516-put-emoticon-tag-where-cursor-is-there/ Share on other sites More sharing options...
Adam Posted June 1, 2010 Share Posted June 1, 2010 http://www.google.co.uk/search?q=javascript+insert+text+at+cursor Link to comment https://forums.phpfreaks.com/topic/203516-put-emoticon-tag-where-cursor-is-there/#findComment-1066174 Share on other sites More sharing options...
robert_gsfame Posted June 2, 2010 Author Share Posted June 2, 2010 thx mr adam! Link to comment https://forums.phpfreaks.com/topic/203516-put-emoticon-tag-where-cursor-is-there/#findComment-1066642 Share on other sites More sharing options...
robert_gsfame Posted June 2, 2010 Author Share Posted June 2, 2010 thx Link to comment https://forums.phpfreaks.com/topic/203516-put-emoticon-tag-where-cursor-is-there/#findComment-1066643 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.