Stretchwickster
Programmer
Hi there,
I have a series of "select" (drop-down) HTML form elements which have their name attribute set to "dateCollected[d]", "dateCollected[M]" and "dateCollected[Y]" respectively. I'm struggling to access them via JS. I've tried a number of techniques.
What would people suggest?
Clive
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
I have a series of "select" (drop-down) HTML form elements which have their name attribute set to "dateCollected[d]", "dateCollected[M]" and "dateCollected[Y]" respectively. I'm struggling to access them via JS. I've tried a number of techniques.
What would people suggest?
Clive
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096