[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-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("");
}
});
} ;