On 2/27/06, Robin Haswell <[EMAIL PROTECTED]> wrote:
>  I think this would work, I can set the onclick to evaluate a false
> function, this is my stanrd method of doing things like this. Strangely I
> don't think the event.observe(el, "click") method works for this.

When binding an event handler via DOM2 methods, the return value of
the functions does not matter. You stop the propagation by other
means, abstracted to Event.stop(event_object) in prototype.js

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

Reply via email to