Index: ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/selectEndCause.jsp =================================================================== diff -u -r26452 -r27253 --- ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/selectEndCause.jsp (.../selectEndCause.jsp) (revision 26452) +++ ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/selectEndCause.jsp (.../selectEndCause.jsp) (revision 27253) @@ -49,11 +49,11 @@ var val = $(chs[0]).val(); if(val == "other"){ var tem = $('#tem'); - if($.trim(tem.text()).length==0){ + if($.trim(tem.val()).length==0){ alert("请选择" + optionTip); return false; }else{ - returnVal = tem.text(); + returnVal = tem.val(); } }else{ returnVal = val; @@ -66,14 +66,14 @@ self.close(); }); $("#tem").on("keyup",function(){ - if($("#tem").text().length >= 2000){ + if($("#tem").val().length >= 2000){ alert("备注内容长度不能大于2000!"); } }) $("#clearRemark").on('click',function(){ var returnVal = ""; $(":radio").prop('checked',false); - if($("#tem").text() != ""){ + if($("#tem").val() != ""){ $("#tem").text(""); } self.returnValue = "";