Posted in Javascript onAugust 30, 2013
$(document).ready(function(){ function getQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg); if (r != null) return unescape(r[2]); return null; } if (getQueryString("SignUp") == 1) { $("#divLogon").css({ top: "auto", left: "auto", position: "absolute" }); $('#registerModal1').modal('show'); } })
Jquery读取URL参数小例子
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Reply on: @reply_date@
@reply_contents@