In my modal dialog, when I'm editing with WYMeditor, I want to click on the OK button and update it I am doing text area I do not see any examples how to use it with the Jquery UI model dialogue, so I stuck in a way.
Until I know the example, I can set it this way.
var wym = WYMeditor.INSTANCES [0]; seems to work ... in the end. $ ('#contcontcontent') Wymeditor ();
$ ('#information'). Dialog ({button: {OK: work} {wym.update (); (new) = $ ('# edit' communication). Val (); $ (this) .dialog ("off");}, canceled Do: function () {$ (this) .dialog ("close");}}, close: function () {// $ (this) .dialog ("off");}});
Comments
Post a Comment