在jsp中调用jauery老是报对象不支持此属性和方法
其他的地方可以的啊!$.post("<%=basePath%>xxcj/tnbhzsfb/tnbsfbAcion.do",{type:"checkRequestCheck",id:"<%=oldFamily_no1%>",MODULE_ID:"36"},function(data){
if(data=="0"){
var error_code = "对不起! <br />你不能修改该随访信息.";
var error_msg = "[请发送对该随访的操作申请,申请审核后方可进行修改!]";
window.open("<%=basePath%>/error/error2.jsp?error_code="+error_code+"&error_msg="+error_msg,"","height=280, width=400, top=80, left=300, toolbar=no, menubar=no, scrollbars=yes, resizable=yes,location=no, status=yes");
}
});
这是些的jquery的代码?
其他的地方可以的啊!$.post("<%=basePath%>xxcj/tnbhzsfb/tnbsfbAcion.do",{type:"checkRequestCheck",id:"<%=oldFamily_no1%>",MODULE_ID:"36"},function(data){
if(data=="0"){
var error_code = "对不起! <br />你不能修改该随访信息.";
var error_msg = "[请发送对该随访的操作申请,申请审核后方可进行修改!]";
window.open("<%=basePath%>/error/error2.jsp?error_code="+error_code+"&error_msg="+error_msg,"","height=280, width=400, top=80, left=300, toolbar=no, menubar=no, scrollbars=yes, resizable=yes,location=no, status=yes");
}
});
这是些的jquery的代码?
解决方案 »
- 使用middlegen生成XML文件时出错
- weblogic .xml配置问题,急待解决!!
- 做一个上报的接口,采用Webservice合适吗?
- FCKeditor2.3 浏览服务器404
- Runtime.exec()调用mfc程序,和dll的问题
- <html:form>中action属性的 test.jsp和test.do的问题
- Tomcat下最初级的问题!!!高手前来指导!!!
- 关于poi导出大数据的时候报的错
- 部署deploy.wsdd文件时,出错!!求救!!!!
- ejb中能将inputstream作为参数传递吗?
- element同时包含文本和子节点,如何将子节点替换成文本
- AJAX Json 提交,文件上传问题,大家帮帮我啦...
注意:要把jquery.js放在引入的第一行,其他js放在jquery.js的后面
<%=basePath%>xxcj/tnbhzsfb/tnbsfbAcion.do是不是写出了?写出这样试试<%=basePath%>/xxcj/tnbhzsfb/tnbsfbAcion.do.