Forum closed. New forum available at http://community.wymeditor.org/

work with WIMeditor from jquery

Support forum for WYMeditor.

work with WIMeditor from jquery

Postby tan4ik on Tue Feb 10, 2009 8:45 am

Hello! :)) Pleace help me. How can I take value from WIMeditor in jquery without reload the page.
tan4ik
 
Posts: 1
Joined: Tue Feb 10, 2009 8:39 am

Re: work with WIMeditor from jquery

Postby eadevel on Tue Feb 10, 2009 10:01 am

Allways try to look at the manual first!
Despite you haven't told the version you're using I'll assume it's the latest so:
http://trac.wymeditor.org/trac/wiki/0.5/API#jQuery.wymeditorsi
http://trac.wymeditor.org/trac/wiki/0.5/API#htmlsHtml
http://trac.wymeditor.org/trac/wiki/0.5/API#xhtml

In your page and with the first instance of wymeditor you could do:
Code: Select all
var content = $.wymeditors(0).xhtml();
alert(content);
eadevel
 
Posts: 22
Joined: Thu Sep 27, 2007 12:00 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest