Thursday, September 18, 2014

confirm box issue in IE.

Confirm box will never work in IE7 & 8 , When you click on cancel also it will continue the same operation.

Here is solution or fix:

if(confirm('Do you really want to delete this document?')==false){event.returnValue=false;return false;}else{return true;};

This will fix the confirm box IE issue.

Thanks,
kiran.vennampelli.

No comments: