L
Leif K-Brooks
Jeff said:I have a form tag with no properties:
When I submit that form (it's a server page) it submits it to itself.
Is this the default behaviour (submitting to the same url)
It depends on what your browser chooses to do. Most browsers seem to
submit to the current page.
and is that reliable?
No. The standard (http://www.w3.org/TR/html4/interact/forms.html#h-17.3)
doesn't say what should happen, and a perfectly compliant browser would
probably raise an error if you do that. A browser could just as easily
explode, display a photo of a cute little kitty, or submit the form to a
page showing hardcore porno.