Is it possible to have an input tag without a name attribute?
I found a form on www.swiss.com (Swiss Airlines), where the Return Date input tag (type="text") does not have a name tag.
- Code: Select all
<label for='arrive'>Return</label> <input id='inbound' maxlength='10' type='text' class='text' value='tt.mm.yyyy' onkeydown='runToggleDIVCalendar(false, this);checkDateInput(this,event);' onfocus='runToggleDIVCalendar(true, this);' onblur='formatDateFormat(this);' />
But I always thought that input tags must have a name tag.
P.S.: I am trying to automatically search for a certain flight on that site and need the name of the input tag fill the form automatically.
Can anybody help me understand?
Many Thanks,
Imran



