我使用这个脚本:
$(document).ready(function() {
$page = jQuery.url.attr("file");
alert(page);
});
但是我收到错误 jQuery.url is undefined 并且通过 firebug 我能够确保 jquery.js 已加载
请指教
谢谢
最佳答案
There is no built-in $.url
function.您缺少 jQuery URL 插件。
关于javascript - jQuery.url 未定义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9960577/