Click here to Skip to main content
12,397,059 members (65,816 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Javascript
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 5-Feb-13 0:58am
Comments
ryanb31 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

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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)[^]
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160721.1 | Last Updated 5 Feb 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100