[Proto-Scripty] anchor button causes IE8 to fire onbeforeunload

2010-04-24 Thread JoJo
I'm using an anchor tag to run some JS when clicked. This works perfectly in Firefox, but Internet Explorer 8 wrongfully fires the onbeforeunload callback. I know this can be solved by changing HREF=javascript:void(0) to HREF=#, but it won't work in my situation because my anchor is very low in

RE: [Proto-Scripty] anchor button causes IE8 to fire onbeforeunload

2010-04-24 Thread Jonathan Rosenberg
: Saturday, April 24, 2010 4:46 PM To: Prototype script.aculo.us Subject: [Proto-Scripty] anchor button causes IE8 to fire onbeforeunload I'm using an anchor tag to run some JS when clicked. This works perfectly in Firefox, but Internet Explorer 8 wrongfully fires the onbeforeunload callback. I