Hello,
I have mutliple HTML
select boxes on my page that get used by PHP. [0][0] - [n]n]
my question is, how can I send this array to a javacript function to verify a value exists at [0][0] in such a way as i do with a text field.
does not work and causes an error in ie.
any help would be awesome
thanks
I have mutliple HTML
Code:
<select name="requirements[0][]" multiple size=10>
my question is, how can I send this array to a javacript function to verify a value exists at [0][0] in such a way as i do with a text field.
Code:
onsubmit="return IsFormValid('form','unitnumber','unitname',requirements[][]);"
....
function IsFormValid(form,unitnumber,unitnam,requirements){
var req = document.forms[FormName].elements[requirements[0][0]];
alert("req:".req.value)
any help would be awesome
thanks