processing a php array in javascript

Javascript coding ..

Moderators: egami, macek, gesf

Post Reply
daybreaker
New php-forum User
New php-forum User
Posts: 17
Joined: Wed Aug 26, 2020 9:46 pm

Mon Jan 11, 2021 3:43 pm

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
Post Reply