摘要:
js中数组不能传递到后台,需进行json序列化: var data = new Array(); data.push({para1:name,para2:answer}); string data = JSON.stringify(data) //解析参数 JavaScriptSerializer 阅读全文
posted @ 2017-07-09 18:28
雷雨天的雷胖子
阅读(1587)
评论(0)
推荐(0)
摘要:
window.clearInterval与window.setInterval的用法 window.setInterval() 功能:按照指定的周期(以毫秒计)来调用函数或计算表达式。 语法:setInterval(code,time) 解释:code:在定时时间到时要执行的JavaScript代码 阅读全文
posted @ 2017-07-09 12:58
雷雨天的雷胖子
阅读(824)
评论(0)
推荐(0)
摘要:
var url = "http://" + window.location.host + "/ContratorSelfAssess/AssessPaper?data=" + data; window.open(encodeURI(url), "width:100%,height:100%,tool 阅读全文
posted @ 2017-07-09 12:45
雷雨天的雷胖子
阅读(363)
评论(0)
推荐(0)

浙公网安备 33010602011771号