|
Posted by David Dorward on 11/26/05 11:51
jojo wrote:
> <script type="text/javascrit" language="javascript">
> document.SomeForm.submit()
> </script>
> <body>
> <form name="SomeForm" method="post" action="...">
> Should work with all browsers.
No it shouldn't.
In browsers that do support JavaScript, it should cause them to go "Eh?
What's this text/javascrit thing? I'll ignore that."
In browsers that support JavaScript, and have JavaScript turned on and
can recover from that error, it will cause them to go
"document.SomeForm? Nope, haven't seen a document.SomeForm yet." and
throw an error.
In browsers that don't support JavaScript, or have JavaScript turned
off, it will do nothing at all.
Navigation:
[Reply to this message]
|