摘要:
RegExp 对象RegExp 对象表示正则表达式,它是对字符串执行模式匹配的强大工具。直接量语法/pattern/attributes实例:window.location.href:http://localhost:8100/aspx/main/ServiceCenter_list.aspx?ca... 阅读全文
摘要:
实现功能:前端html页面,填入相应的预约信息提交到后台返回并返回信息 1.前端ajax代码 <script type="text/javascript"> $(function () { //表单提交 $("#btnSubmit").click(function () { var txtname 阅读全文
摘要:
实例:js全局替换window.onload = function () { var obj = document.getElementsByTagName("div"); for (var i = 0; i < obj.length; i++) { if (obj[i].classNam... 阅读全文