L
Logos
Hi friends and neighbours! Gotta problem, maybe you can help...
I'm using a dummy # reference in an href so I can use the onclick
event. This works well.
The problem comes when a user hits the browser's reload button...the
Address Bar now reads http://mydomain//mypage.html#, and this produces
weird javascript errors on line 1. I tried adding a phony href (<a
href="#" onclick="window.location.reload(true)"></a>) to refresh, but
obviously the click event isn't being fired when the browser's reload
button is hit. Can anyone suggest an alternative?
Tyler
tyler...AT...(healthyhabitsweb) dot [com]
I'm using a dummy # reference in an href so I can use the onclick
event. This works well.
The problem comes when a user hits the browser's reload button...the
Address Bar now reads http://mydomain//mypage.html#, and this produces
weird javascript errors on line 1. I tried adding a phony href (<a
href="#" onclick="window.location.reload(true)"></a>) to refresh, but
obviously the click event isn't being fired when the browser's reload
button is hit. Can anyone suggest an alternative?
Tyler
tyler...AT...(healthyhabitsweb) dot [com]