Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys,
I just wanted to ask how to use javascript/jquery with ajax htmleditor control.
I want to get/set text in htmleditor control using javascript/jquery.
Posted
Comments
ZurdoDev 5-Feb-13 8:44am    
Depends on which editor. But one way would be to find the id of the textbox you want and set it. But, some editors likely have internal functions you could call to do it.
Vyacheslav Voronenko 5-Feb-13 9:57am    
Look for html editor docs. TinyMCE for example has rich examples on this topic

1 solution

I want to get/set text in htmleditor control using javascript/jquery.
It's already AJAX enabled and part of control toolkit. Get/Set it with partial render.
Details here: How do I use the HTML Editor Control? (C#)[^]

If you want to play with control and its content during postback of any call in Javascript, following article will help you out: JavaScript Access to Page Controls after Ajax Update (via Update Panel)[^]
 
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