I am getting an error saying that there is no variable
and the exact line for that error segment is
select_list_array.length();
part of the javascript.
I don’t know why this is giving me an error because I beleive I’ve done everything correctly if I am not mistaken!
Below is the source file.
Please, lend me a helping hand.
[code=html]
<script>
function Select_All_Members( select_list ){
var select_list_array = new Array();
select_list_array = select_list.split(‘;’);
for( var i=1; i <= select_list_array.length(); i++ ){
alert(select_list_array[i]);
//eval(“document.InputForm.” + select_list_array[i] +”.checked=true”);
}
}
Select_All_Members(‘1;2;3;4;5;6;’);
</script>