Reputation: 4918
I use this script:
$(document).ready(function() {
$page = jQuery.url.attr("file");
alert(page);
});
but I get error jQuery.url is undefined and through firebug I was able to make sure that jquery.js is loaded
please advise
thanks
Upvotes: 0
Views: 2301
Reputation: 359966
There is no built-in $.url
function. You're missing the jQuery URL plugin.
Upvotes: 8