Text Link Won't Submit Form By Javascript In Safari Using Name
I'm using Safari 5.0.3 I have a form in my html:
Solution 1:
Use: document.getElementById('searchForm').submit() instead.
Use: document.getElementById('searchForm').submit() instead.
Try this out:
<ahref="#"onClick="document.searchForm.submit(); return false;">
If that doesn't work, Macy Abbey has a great idea of adding an id to the form and referencing it by that.
Post a Comment for "Text Link Won't Submit Form By Javascript In Safari Using Name"