i have a situation here. i have a web form with a few textfields displayed initially. there'll be a button to add more textfields to the existing ones using innerHTML. i intend to have the same element name for all textfields, eg.
<input type='text' name='something' value='somevalue'>
i don't want to have unique names as it would be tedious to assign variables to all of them individually.
i haven't tried it yet but is this possible?
use CGI;
$q = new CGI;
@textValue = $q->param('something'); #common for all
<input type='text' name='something' value='somevalue'>
i don't want to have unique names as it would be tedious to assign variables to all of them individually.
i haven't tried it yet but is this possible?
use CGI;
$q = new CGI;
@textValue = $q->param('something'); #common for all