js获取表单提交的数据 js获取form表单数据

首页 / 新闻动态 / js获取表单提交的数据 js获取form表单数据

js获取表单提交的数据 js获取form表单数据

~functionexitsCheck(str){if(jsonXmlHttpSupport){varsUrl=“操作?str=“编码器组件(str)varjsonRequest=newXMLHttpRequest()jsonRequest.onreadystatechange=函数(){如果(jsonRequest.readyState文件==4){varjsonResult=eval(“”jsonRequest.responseText文件)如果jsonResult.jsonMsg文件啊!=0){alert(“xxxxx”)return}文档。[0]。操作=“<%=请求.getContextPath()%>/xxxxxxx操作“文档。[0].提交()}jsonRequest。(“后”sUrl)jsonRequest.send发送(零)

js获取form表单数据js获取form表单中的值js获取表单的value值