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 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 onclick event.

Or set event.preventDefault(); as I'm doing.  But I don't think
that's related to the problem I'm having.

--
Bill Moseley
[EMAIL PROTECTED]

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to