Hello,

I was wondering if there was a way to temporarily disable an inline
onclick event, which i can reattach later.  Here's the scenario:

My page has an edit mode which makes the text of certain elements
editable.
Edit mode is enabled -> text that is editable gets a click event bound
to it by jquery
Clicking the element allows you to inplace edit and save the info
Disabling edit mode removes the click event to activate an editable
element

Everything works great unless there is an onclick attribute specifed
inline on the element (ie- rails generates an onclick confirm
message).  So the inline confirm is raised first, then my subsequent
bound click events.

Is there a means i can temporarily disable (or remove/reattach) these
inline javascript events?

I'm using jQuery 1.3.1

Thanks in advance,
Adam Walters

Reply via email to