开发者

jQuery's wysiwyg validation problem

I am using jQuery's wysiwyg plugin on one of the pages. When the form get's posted I have checked if there is some conte开发者_开发技巧nt present in the editor. If the editor is blan then I have shown the message to enter some content in the wysiwyg editor. However this validation is not getting applied since when I alert the value of wysiwyg edior it shows me "<P></P>" or "<P>&nbsp;</P>" so the condition to check the balnk value of editor ($("#wysiwyg").val() == "") is not getting applied.

Even if the "<P></P>" or "<P>&nbsp;</P>" content is replaced then also it giving different results in Mozilla & IE7.


There seems to be a getContent() method avalaible, can you try that one?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜