|
What replaced "onSubmit" for forms in XHTML 1.0? | by shorty82 | 2006-03-30 18:26:40 |
|
Some more form help requested. | by shorty82 | 2006-11-19 12:55:59 |
|
Which bit isn't working? | by fudje | 2006-03-30 19:02:06 |
|
All I know is that I click "Submit" | by shorty82 | 2006-03-30 19:04:08 |
|
As I suspected, | by fudje | 2006-03-30 19:07:40 |
|
Neither work. (n/t) | by shorty82 | 2006-03-30 19:10:40 |
|
Case sensitivity again. | by bwkaz | 2006-03-30 19:11:45 |
|
Also, you need id="whatever" attributes on your fo | by bwkaz | 2006-03-30 19:13:43 |
|
Still doesn't work and the W3C validator | by shorty82 | 2006-03-30 19:19:05 |
|
You gave the same id to two different elements. (n/t) | by bwkaz | 2006-03-30 19:19:36 |
|
Yeah, because both elements are part of | by shorty82 | 2006-03-30 19:22:56 |
|
But in {X,}HTML, two different tags CAN'T have the | by bwkaz | 2006-03-30 19:26:46 |
|
It's standard | by fudje | 2006-03-30 19:33:54 |
| Ah, I only looked at level 1 HTML. |
by bwkaz |
2006-03-30 19:40:09 |
(Mostly because that's pretty close to the only features that IE supports. Grr again.)
I assume you're talking about this sentence (which is also in Level 1 HTML):
> An individual node may be accessed by either ordinal index or the node's name or id attributes.
Which may imply either that the "name" or "id" attribute values are valid as properties of the HTMLCollection, or that you can do this by using the item() and namedItem() accessor functions. I'm not sure. It's also not exactly clear about what happens when you have two nodes with the same "name" attribute, but apparently it returns an array, or something.
(I'll keep using getElementById for my own stuff, thanks, but it's still nice to know there may be another option.) |
|
[ Reply ] |
|
Whoops, I meant "this sentence in the HTMLCollecti | by bwkaz | 2006-03-30 19:41:25 |
|
names always return a NodeList, | by fudje | 2006-03-30 19:49:25 |
|
There is? Hmm. | by bwkaz | 2006-03-30 19:58:08 |