preventDefault() doesn't work in IE, you'd need to do "return false" which is wrapped nicely in Prototype. I think you could replace:
"if ( event.preventDefault ) event.preventDefault();"
with:
"Event.stop(event);"
?
On 4/3/06, Bill Moseley <[EMAIL PROTECTED]> wrote:
On Mon, Apr 03, 2006 a
On Mon, Apr 03, 2006 at 03:41:21PM -0500, Todd Ross wrote:
> On 4/3/06, Gregory Hill <[EMAIL PROTECTED]> wrote:
> > IE is loading the page in the 'href'. Not sure there's a way to prevent
> > that.
That's because it doesn't seem to be running the event code at all.
> Return false from the oncli
On 4/3/06, Gregory Hill <[EMAIL PROTECTED]> wrote:
> IE is loading the page in the 'href'. Not sure there's a way to prevent
> that.
Return false from the onclick event.
Todd
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://l
spinoffs@lists.rubyonrails.org
> Subject: [Rails-spinoffs] Event.observe on IE
>
>
> I'm working again on unloading events before making my ajax call.
>
>
> This code works on Firefox/Opera, but IE doesn't seem to get the
> onclick events registered. Could someon
I'm working again on unloading events before making my ajax call.
This code works on Firefox/Opera, but IE doesn't seem to get the
onclick events registered. Could someone with IE take a look?
http://hank.org/demos/ajax3.html
The js is included in that file. There's alerts() to show when