I was experiencing a false bug with safari when trying to submit a post form
from a javascript script:
function my_submit()
{
document.theForm.submit.click();
}
it doesn't work in the "current" version (1.0 v85.6) of Safari (nothing
happens) while it works with mozilla (1.5) and IE. So i tried:
function my_submit()
{
document.theForm.submit();
}
but i was having an error message in the Mac OS Console application.
In fact, it was because of the name of my submit button:
<input type="submit" name="submit" value="whatever">
but if i change the name of the button:
<input type="submit" name="Submit" value="whatever">
^
then, the first method works on the 3 browsers :)
Since i didn't find anything about that on google, i think it's a good idea to
post it with the keywords i used for my research.
Cheers
--
david