Hi i have text box array like this
<?php for($i=0;$i<4;$i++) echo "<input type='text' name='time[]'>"; ?>
No I want to access the value of all the 4 textboxes via javascript. How can this be done??
for ($i = 1; $i <= 4; $i++) { echo '<input type="text" name="time[' . $i . ']">'; }
now each element is uniquely named (using intergers).