Onclick Javascript Does Not Work in Google Chrome and Firefox?
If you have found that onclick event does not work on Google Chrome, Firefox and Safari web browsers, then here is quick way to fix it:
Replace onclick form id with its name
For example, let’s say you have the following:
id=”form1″ name=”checkform1″
Find JS event:
onclick=”document.form1.cSSld.value=””
Replace with:
onclick=”document.checkform1.cSSld.value=””
All set. It now works with all web browsers.


Post new comment