If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

i have this
<script>
function enabledisable(){
textbox=document.getElementsByName("mytextbox[]");
checkbox=document.getElementsByName("mycheckbox[]");
}

</script>

while(){
<input type="checkbox" name="mycheckbox[]" onchange="enabledisable()" value="">
<input type="text" name="text" name="mytextbox[]" value="" disabled="true">
}
it will display many copies because of the record from database what i need to to is when i checked a particular checkbox it will enable my desired textbox, its easy to it if its static but i dont know what approach will i do if its dynamic