nevermind...i found the problem.
On Apr 15, 10:46 am, Bob O <sngndn...@gmail.com> wrote: > also in my code the line is not commented out... > > I accidentally pasted that in there.. > > On Apr 15, 10:45 am, Bob O <sngndn...@gmail.com> wrote: > > > 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