Menu
I have a JavaScript function that is triggered by the onBlur event of an <input type=”text”> field. My problem occurs when this field has the input focus and another button on the same form is clicked.
The onBlur event for the text field executes, but the onClick event for the button is somehow lost.
I’m told this is because my onBlur function is throwing up a “Confirm” box, which is somehow causing the onClick event to be forgotten.
Is there a way around this?