开发者

Fetching text area or text editor's value

I have a text editor I have used "NicEdit" rich text editor. The user types some text and character. How do I fetch the same content and save it in the database. I am using the servlet at the back end and jquery and html5 at the front end and I am usin开发者_如何学Pythong Mysql database.

I just need to get the data from the rich editor.


I found this while i was watching for the article that i was using last time.

There you find a example how to save with Ajax

EDIT:

There seems to be a saveContents() function.

i found this(Also watch the comments) example:

onclick="nicEditors.findEditor('textarea_id').saveContent();document.myForm.submit();"
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜