in reply to Re^2: cgi-bin and xhtml
in thread CGI and xhtml
That's the form name, which is only used by client side script (i.e. it is never used by server side script). That should be an id (which can them be referenced by JavaScript in the document.forms collection just like the old name attribute).
It is form controls (like input, select and textarea) that need names. (Its also a good idea to give them ids so you can reference them with label elements, but the ids and names do not have to be the same.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: cgi-bin and xhtml
by jhourcle (Prior) on Mar 23, 2005 at 03:51 UTC |