There is one text input field and one button.
<input type="text" id="myInput" onblur="saveValue();" />
<input type="button" id="myButton" />
On Blur event ( input field ), a function ( saveValue) is called. I do not want to call that function if the current focus is the button (myButton).
How can I do it in JQuery?
You can try: