who knows the answer?
i have a input type="image" which sort of acts like the little cell notes in excel. if someone enters a number into the textbox this input-image is paired with, i setup an event handler for the input-image and then when the user clicks the image they get a little popup to add some notes to the data.
the problem i'm having, is that when a user enters a zero into the textbox, i need to disable the input-image's event handler. i tried to do something like $('#myimage').click(function { return false; }); but that did not work.