zac
zac

Reputation: 4918

jQuery.url is undefined

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

Answers (1)

Matt Ball
Matt Ball

Reputation: 359966

There is no built-in $.url function. You're missing the jQuery URL plugin.

Upvotes: 8

Related Questions