Hello, I have an onclick event attached to a button. Clicking the button adds a text box to the target div.
the code is: onclick="return addBlank("param1","param2"); The function addBlank does not have a return statement.
Clicking on the button behaves as intended in firefox, opera,chrome and safari - i.e., an empty text box is added to the target div and page is not reloaded.
Clicking on the button in ie8 forces a page reload and doesnt add anything to the target div.
Is there an onclick incompatibility that I'm missing here?
Thanks, I appreciate your taking the time to read this doubt!