Karl Dahlke <[email protected]> writes:

> Yes I know, exactly, question is, do real web pages do that?

I don't know.  I've been looking for live examples, but I haven't found
one yet.
But here's some text I found that mentions the submit method of form
objects:

"If a form control (such as a submit button)
has a name or id of submit it will mask the form's submit method."
Source: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement.submit

It isn't the behavior I see in Chromium, where a form element with
id=submit does not mask document.form.submit, but a form element with
id=foo is available as document.form.foo.

I also need to get a handle on the DOM specifications.

Wow, what a mess the web is.  I'm amazed it holds together as well as it does.

-- Chris
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to