Jump to content

name AND id necessary in form element?


lindm

Recommended Posts

as far as i know, the NAME attribute specifies name of the element passed by the form. i sometimes use ID too if i want to access it with document.getElementById(), but most of the time i don't need that.

 

using just ID doesn't allow for form element arrays (like name="chkbox[]")...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.