I have a very simple piece of code.

$(document).ready(function() {
  // var url = location.pathname;
  alert(url);
});

When im on my home page it alerts the pathname like it should. but
when i navigate to the next page the alert does not fire....

the firebug dom shows the new pathname..but the alert does not fire.

the js files are across all of my views and the js file that contains
this piece of code is in the source when viewed

any guidance would be great.

thanks

Reply via email to