复制代码 代码如下:
$(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');
}
})
时间: 2024-09-26 23:47:20