• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Javascript, values and arrays

Enguerran A

Well-known member
#1
Hi guys,

I'm making a small widget for my board in order to calculate some stuff. It's supposed to be super basic and I was planning to use some javascript to get there but I'm facing a problem I cannot fix myself.

I have a form with a select. I want my users to select one of the options, to enter a number and to get the results. I know it works without arrays, but i cannot use those stuff (I don't know how to do).
 
Last edited:

Lawrence

Well-known member
#2
I'm not quite sure what you are asking, but if I do understand, can't you just pass each array key off to the JS as a separate argument? That is how I do it and it works well.