简体   繁体   English

无法获得具有tinymce编辑器的文本区域的价值

[英]Dont get value of text area that have tinymce editor

TextArea val=new TextArea<String>("notes",new PropertyModel<String>(this,"notesData"));
val.setOutputMarkupId(true);

but I am not able to get value of TextArea onsubmit method of ajaxButton("id",form); 但是我无法在ajaxButton("id",form);ajaxButton("id",form);方法上获取TextArea的值ajaxButton("id",form);

I need the value of text area in java code. 我需要Java代码中文本区域的值。

使用tinymce.get('your_textarea_id').getContent();

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM