"Felipe" <be***@musicalfruit.com> wrote in message
news:uh**************@TK2MSFTNGP09.phx.gbl...
Learning client-side coding... which should be used to refer to an HTML
control - the ID or the Name attribute? Can both be used interchangeably?
Rationalle for which one to use?
The id is what identifies the object in the DOM. The name attribute
determines what gets sent to the server on a form submit, but does not
necessarily identify the object uniquely.
--
John Saunders
johnwsaundersiii at hotmail