Created
March 23, 2009 14:01
-
-
Save davglass/83557 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myEditor = //A reference to your Editor instance | |
//From your submit handler.. | |
var doc = myEditor._getDoc(); | |
var name = doc.getElementById('field-name').innerHTML; | |
var nickname = doc.getElementById('field-nickname').innerHTML; | |
var address = doc.getElementById('field-address').innerHTML; | |
//Copy of the HTML source | |
var html = myEditor.saveHTML(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment