不知道什么错

[QC] DEBUG [http-8088-5] org.springframework.web.context.request.RequestContextListener.requestInitialized(69) | Bound request context to thread: org.apache.catalina.connector.RequestFacade@e945ce
[QC] DEBUG [http-8088-5] org.springframework.web.context.request.RequestContextListener.requestDestroyed(89) | Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@e945ce
[QC] DEBUG [http-8088-2] org.springframework.web.context.request.RequestContextListener.requestInitialized(69) | Bound request context to thread: org.apache.catalina.connector.RequestFacade@4663bc
[QC] DEBUG [http-8088-2] org.springframework.web.context.request.RequestContextListener.requestDestroyed(89) | Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@4663bc
[QC] DEBUG [http-8088-7] org.springframework.web.context.request.RequestContextListener.requestInitialized(69) | Bound request context to thread: org.apache.catalina.connector.RequestFacade@af5c74

[QC] DEBUG [http-8088-7] org.springframework.web.context.request.RequestContextListener.requestDestroyed(89) | Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@af5c74



http://www.sxt.cn/
http://tool.oschina.net/
www.jikexueyuan.com <http://www.jikexueyuan.com/> 
www.kaikeba.com <http://www.kaikeba.com/> 

http://www.phpfensi.com/



function addTr(){
	   var num = document.getElementById("num");
	   if(num.value<=4){
	   var tr = document.getElementById("lian");
	   var td = document.createElement("td");
	   var element_input=document.createElement("input");
		element_input.type="text";
		element_input.name="Number";
	   td.appendChild(element_input);
	   tr.appendChild(td);
	   num.value++;
	   }
	 };


function tosubmit(){ 
			var x =document.getElementsByName("Number");
			var tel="";
			for(var i = 0 ; i<x.length; i++)
		    {
				var myreg = "/^1\d{10}$/";
		        if(!myreg.test(x[i].value))
		        {
		        	alert(i);
		            alert('请输入有效的手机号码!');
		            return false;
		        }
				tel += x[i].value+",";
		    }
		   if($("#con").val()==""){
			   alert("短信内容不可以为空!");
			   return false;
		   }
           $.ajax({
           type:"post", //请求方式
           url:"sendSMS.htm", //发送请求地址
           data:{ //发送给数据库的数据
        	   telNumber: tel,
        	   context:$("#con").val()
           },
           //请求成功后的回调函数有两个参数
           success:function(data,textStatus){
        	   if(parseInt(data)>=1){
        		   alert("您已成功发送"+data+"条短信");
        	   }
        	   var y =document.getElementsByName("Number");
        	   for(var i = 0 ; i<y.length; i++)
   		    	{
        		   y[i].value="";
   		    	}
        	   $("#con").val("");
           }
           });
          
        
    }  ;



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值