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