processing a php array in javascript

A

Anonymous

Guest
Hi there,

I have several lines of html like the below in a form....

<select onkeydown="return event.key != 'Enter'" name="itemline[4][inventoryitem]"><option value=....

can anyone tell me how to access this information by using javascript to access this array item.

I want to be able to check in javascript the form values using onsubmit="checksubmitvalues()" etc before handing it over to php server side to process the data into mysql database.

Any help would be much appreciated.

Thanks
 
Back
Top