I want to know how to pass the dynamic values, for example I have the php code:
======
<?php
for ($i=0;$i<10;$i++) {
<input type=text name=name[$i]>
<input type=button onClick=(will show the value in textbox)>
}
?>
======
This will create 10 textboxes and 10 buttons, how can I write code so when I enter text in box1 (for example) then click button1 to pop up this text value(javascript:alert())? can anyone help me on it, thanks very much in advance.
======
<?php
for ($i=0;$i<10;$i++) {
<input type=text name=name[$i]>
<input type=button onClick=(will show the value in textbox)>
}
?>
======
This will create 10 textboxes and 10 buttons, how can I write code so when I enter text in box1 (for example) then click button1 to pop up this text value(javascript:alert())? can anyone help me on it, thanks very much in advance.