Hey fella's
I've got a little problem in combining php and javascript.
I've got this multi select box.
<td><select name="Betrokken[]" multiple>
I used the [] so it would be an array that i can read every input in php.
Now if i try to adress it in javascript it doesn't work.
I tried:
window.document.opslaantaak.Betrokken.options.length;
and
window.document.opslaantaak.Betrokken[].options.length;
neither of them work.
It works fine if i change my <select> to:
<td><select name="Betrokken" multiple>
But then i can't read every entry in the array in PHP. Only the first one.
Please help me
π
TIA