> The main problem is that Event.stop stops the onclick event, but it does > not stop the link from firing
It sure does. Must be something else in your code. I disable Links on form edit like (excerpt) Event.observe(document.body, "click", noAction.bindAsEventListener(this)); noAction: function(ev){ var el = Event.findElement(ev, "a"); if (!isUndefined(el.tagName) && el.tagName.toUpperCase() == "A" && Element.hasClassName(el, this.disabledClass)) Event.stop(ev); } _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs