[eluser]basty_dread[/eluser]
Hello you had posted this code to my topic
Code:
<SELECT NAME="sections[]" MULTIPLE>
the
is not working in javascript.
this is my javascript code for selecting all the values on the listbox without click all of them:
Code:
function selectin()
{
for(i=0;i<document.forms['frmcustom'].sections[].length;i++){
document.forms['frmcustom'].sections[i].selected=true;
}
}
but its not working.
what could be wrong?
Please help me. Thank you again.