i'm driving insane right now
i have a form wich has a lot of stuff in it
as you fill it, javascript generates the OPTIONS[] for four SELECT objects at the end of the form.
they are generated right and i have no troubles up to this point until...
i clic the SUBMIT button
i need to upload to a database (already created) ONLY the selected OPTIONS VALUE for each SELECT
the point here is
how do i retrieve it?
my SELECTS are called listX (list1-list4)
assuming the available OPTIONs are: right, left, blink, on, off,
with values s0, s1, s2, s3, s4
if someone picks
list1: left
list2: off
list3: right
list4: blink
how do i get the corresponding s1, s4, s0, s2 to upload them to the database??
i thought about this
String choice=request.getParameter("listx");
but that oddly returns either null, true or false; and
String[] choice=request.getParameterValues("listx");
returns weirder stuff (string java lang @ numbers letters numbers)
so of course i can't proceed to upload the information if i cant even get it right
admin.html is the webpage, among other stuf it has
<form id="form1" name="form1" method="post" onsubmit="validate()" action="manager.java">
and manager.java is the one using a
db1.mdb resgistered as proyect
which contains two tables
so, can anyone gimme ideas?
thank you.