Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: determine which row is selected when submit is clicked....


Message #1 by "Aaron sahlin" <aaronsahlin@y...> on Fri, 13 Sep 2002 20:05:09
Nevermind...

Once again, thanks for the help.

> I am guessing that this is a fairly routine exercise, but I am new to 
J> avascript and web programming.  But here is what I want to accomplish.

> I have a table that has multiply rows and columns. The first column of 
e> ach row is a radio button (so the row can be selected).  I also have a 
d> rop down menu of actions that can be taken on each row.   So what I want 
t> o do is when the user selects an action from the dropdown menu and 
clicks 
t> he submit button I want to determine which row's radio button is 
selected 
s> o I can pass the action from the drop down menu and the item that was 
s> elected to the server.

> It seems reasonable that when the user clicks the submit button, I can 
l> ook and see what item is selected from the table and what action from 
the 
m> enu.. but I dont have the first clue on how to do this...  Has anyone 
d> one this or have an example they can share.  Any help will be much 
a> ppreciated.


  Return to Index