> > You should never have an element with an id value that does not match > > its name value. Get that straightened out and you'll be fine. > > That's not true at all. Do you have a reference for that? > > The id attr. is solely for the DOM, while name is passed to the server.
Yes, that's quite true. But using different values on the same element is a very bad idea. http://msdn.microsoft.com/en-us/library/ms536437(VS.85).aspx There are other issues in addition to the problems with getElementById mentioned in the linked article above. For example, both the id and name values on form controls are promoted to properties on the form element. This quickly leads to debugging nightmares. To the OP's question, I don't think I fully understand your question. Are you referring to the id on the form element?

