再会。
我想检查当前浏览器窗口路径名是否具有特定值...
但我的代码不起作用......有什么帮助吗?
jQuery(function($){
var pathname = window.location.pathname;
if ($pathname == 'http://google.com') {
alert($pathname);
}
});
谢谢你