摘要: 知识点:js中的return 不能使js程序停止或者跳出执行,会继续往下执行。要想让js程序停止或者跳出 可以用 return false 就可以了。 代码: <! html > <!DOCTYPE html><html lang="en"> <head> <meta charset="utf-8" 阅读全文
posted @ 2017-06-15 22:31 developer_os 阅读(1345) 评论(0) 推荐(0) 编辑
摘要: Request = { query : function(name) { var q = document.location.search.match(new RegExp("[\?\&]" + name + "=([^\&]*)(\&?)", "i")); q = q ? q[1] : q; if 阅读全文
posted @ 2017-06-15 22:19 developer_os 阅读(345) 评论(0) 推荐(0) 编辑