Hi ,
I have 'document.pressed ' checking in my javascript code. Problem is it is working fine in Firefox but not in Internet Explorer. I need to make it work in both the browser.
My code is as follows :
Please help, Thanks.Code:function onSubmitForm() { if(document.pressed == 'Save') { .... } if(document.pressed == 'Run') { --- } } <input type="submit" value = 'Save' name='SaVE_RUn' onclick = "document.pressed=this.value"> <input type="submit" value = 'Run' name='RUn' onclick = "document.pressed=this.value">


Reply With Quote
Bookmarks