问题描述
- showModalDialog 传值到action如何获取
-
var articlelearn = new Object();
var cw=correctString.replace(/&/g,",").replace(/"|"|'|.|?|!/g,"");
&/g,",").replace(/"|"|'|.|?|!/g,"");
var lw=lessString.replace(/
articlelearn.correctWords=cw;
articlelearn.lessWords=lw;
var retValue = window
.showModalDialog('${ctx}/teacher/ReviewWordDialog.do?articlelearn.id='+$("#articlelearnId").val()+'&student.studentLevel=${student.studentLevel}',
articlelearn,
"dialogWidth=600px;dialogHeight=450px;scroll=no;"
+"center=yes;status=no;dialogLeft:"+bleft+"px;dialogTop:"+btop+"px;");前台你码如上,由于传递的数据量较大,直接放在url后面传不过去,所以用object对像传递到java后台,但不知怎么获取,请大神们帮忙
时间: 2024-10-31 05:48:36