Click here to Skip to main content
15,891,842 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a ajax html editor in that popup menu i am using after the pop up execution i want to insert some of the data but how to handle the cursor position in hidden field can any body please help me
Posted
Comments
Not getting. Which cursor and where? What you want to do and when?
Naveen Kumar 30-Dec-14 0:46am    
I am using AjaxCustomHTMLEditor, here i am adding a custom button and onclick of the button i need to open a popup with some link names, when user select any link name, i need to insert that link name to the editor cursor position...
For this i need the editor cursor position when user clicks on the cursom button, i will hold this in the hidden filed and after user selects the link name, i will do the editor text, substring with this cursor postion.

1 solution

See the answer Re: Need to get cursor position in Ajax HTML Editor.[^].

You need to find out the last index of cursor and insert whatever you want accordingly.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900