t
This commit is contained in:
@@ -15,7 +15,7 @@ var checkInfo, addOne;
|
|||||||
}
|
}
|
||||||
|
|
||||||
timesec--;
|
timesec--;
|
||||||
var timeTmp=formatTime(timesec);
|
var timeTmp = formatTime(timesec);
|
||||||
for (var e_array = document.getElementsByName('remtime'), i = e_array.length - 1; i >= 0; i--) {
|
for (var e_array = document.getElementsByName('remtime'), i = e_array.length - 1; i >= 0; i--) {
|
||||||
e_array[i].innerText = timeTmp;
|
e_array[i].innerText = timeTmp;
|
||||||
}
|
}
|
||||||
@@ -98,8 +98,8 @@ $(document).ready(function() {
|
|||||||
//倒计时器
|
//倒计时器
|
||||||
//name="remtime"
|
//name="remtime"
|
||||||
//remtime(sec,callback);
|
//remtime(sec,callback);
|
||||||
startremtime=function(){
|
startremtime = function() {
|
||||||
myFun[0](600, clearT,
|
myFun[0](900, clearT,
|
||||||
function() {
|
function() {
|
||||||
var btn = document.getElementById("submit");
|
var btn = document.getElementById("submit");
|
||||||
$("#form1").ajaxSubmit({
|
$("#form1").ajaxSubmit({
|
||||||
@@ -115,7 +115,7 @@ $(document).ready(function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
btn.setAttribute('class', btn.getAttribute('class') + ' disabled');
|
btn.setAttribute('class', btn.getAttribute('class') + ' disabled');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
//当鼠标离开节点时调用此方法,验证节点内容是否符合注册规范
|
//当鼠标离开节点时调用此方法,验证节点内容是否符合注册规范
|
||||||
@@ -152,7 +152,7 @@ $(document).ready(function() {
|
|||||||
//表单验证
|
//表单验证
|
||||||
requestFirst = function() {
|
requestFirst = function() {
|
||||||
var ifblock = new Array(),
|
var ifblock = new Array(),
|
||||||
scroll_top_duration = 600; //ms
|
scroll_top_duration = 900; //ms
|
||||||
for (var i = eName.length - 1; i >= 0; i--) {
|
for (var i = eName.length - 1; i >= 0; i--) {
|
||||||
ifblock[i] = $.trim(document.getElementById(eName[i]).value);
|
ifblock[i] = $.trim(document.getElementById(eName[i]).value);
|
||||||
}
|
}
|
||||||
@@ -184,7 +184,7 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
function showRequest() {
|
function showRequest() {
|
||||||
var ifblock = new Array(),
|
var ifblock = new Array(),
|
||||||
scroll_top_duration = 600; //ms
|
scroll_top_duration = 900; //ms
|
||||||
for (var i = eName.length - 1; i >= 0; i--) {
|
for (var i = eName.length - 1; i >= 0; i--) {
|
||||||
ifblock[i] = $.trim(document.getElementById(eName[i]).value);
|
ifblock[i] = $.trim(document.getElementById(eName[i]).value);
|
||||||
}
|
}
|
||||||
@@ -241,7 +241,7 @@ $(document).ready(function() {
|
|||||||
function showResponse(responseText) {
|
function showResponse(responseText) {
|
||||||
clearT[0] = 0;
|
clearT[0] = 0;
|
||||||
alert(responseText);
|
alert(responseText);
|
||||||
window.location.href="https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MjM5NzY1MjYyMg==&scene=124#wechat_redirect";
|
window.location.href = "https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MjM5NzY1MjYyMg==&scene=124#wechat_redirect";
|
||||||
|
|
||||||
}
|
}
|
||||||
var options = {
|
var options = {
|
||||||
@@ -250,4 +250,4 @@ $(document).ready(function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
$("#form1").ajaxForm(options);
|
$("#form1").ajaxForm(options);
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user