Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for ASP
»
Accessing editor's text in javascript
Accessing editor's text in javascript
06-21-2005, 8:38 PM
serran
Joined on 04-03-2004
Posts 9
Accessing editor's text in javascript
Reply
Quote
Does the following work in version4? I have not been able to get this to work in V4.
Re: accessing the editor's text in javascript (ASP version!)
My apologies!
After a more thorough search, I found exactly the answer I needed in a post from Adam:
function getHTML() {
//Editor1 is the ID of the Editor
var editor = document.getElementById("Editor1_editBox");
alert(editor.innerHTML);
}
I didn't know about that "_editBox" part!
Thanks Adam!
View Complete Thread