想使用这种类型的 想放在一个表单form里,<textarea rows="6" cols="60" name="sub${question.id}"></textarea>
因为,前面的name="sub${question.id},具有不确定性,所以后台使用Enumeration<String> enumeration = request.getParameterNames();
while(enumeration.hasMoreElements()){
String key = enumeration.nextElement();
if(key.startsWith("sub")){
.....
}来接收form的各种参数进行操作。求教怎么在jsp里使用这种,
传递里面的内容时候,最好还能符合我后台相应操作的~
因为,前面的name="sub${question.id},具有不确定性,所以后台使用Enumeration<String> enumeration = request.getParameterNames();
while(enumeration.hasMoreElements()){
String key = enumeration.nextElement();
if(key.startsWith("sub")){
.....
}来接收form的各种参数进行操作。求教怎么在jsp里使用这种,
传递里面的内容时候,最好还能符合我后台相应操作的~
var oFCKeditor = new FCKeditor('content_1') ;
oFCKeditor.Height = 280 ;
oFCKeditor.BasePath = "路径/js/fckeditor/";//oFCKeditor.BasePath = "/FCKEditTest/fckeditor/";
oFCKeditor.ReplaceTextarea();
}
</script><body onload="init()" > <textarea id="content_1" name="content" id="content" style="width:285px;">AAAAA</textarea></body>
fckeditor 在开源中国里看到图不太美观啊。。
如果有其他好的插件,知道的不要吝啬回复啊~