[jQuery] Browser jQuery causing errors using 'Back' button
Hi jQueryers,
I am using jQuery for a small site for a florist that is about to go
live very soon. I have loved using it and is has come in very handy
for creating a cross-browser fading highlight around the thumbnails
of the gallery.
However, I have noticed that if you click on a thumbnail and go to
the relevant page, then navigate "Back" using the browser Back
button, I get javascript errors to the tune of "Error:
this.parentNode has no properties" and indicates that it comes from
jQuery.js line 19 - being the long compressed source of jQuery. Other
times I get "Error: $ is not defined" from the same source.
Can anyone shed any light on why this may be? I wouldn't know where
to start creating a test case of this but the finished project I am
referring to is secretly online at http://www.fppdesign.com.au/antaeus/
If you view the javascript I am using you may notice that I am using
a mixture of jQuery events and Simon Willison's addLoadEvent because
$(document).ready() was sporadically failing for me and needed a
quick fix. I would not expect anyone to just trouble-shoot my work
for me, but I have had a number of strange event related problems
during this project so I thought it may be worth reporting incase it
is a jQuery weakness.
Thanks for your time.
Joel Birch.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/