When using onbeforeunload function, I don't want to show warning message for submit button and some other buttons also inside my form. I am checking boolean[T/F] condition to fire it. It works with IE, but it seems not checking the condition in FireFox. It is showing problem. Can somebody help.
Thanks