1. for the drop down menu i can run over the list and write the tag <option> inside the loop? it will create the menu with the number of items in the list? there is another way?
Yes there can be other ways, but in this case it is most simplest and efficient way
2. i am planning to build the table the same way with a loop.
but i want to know how can i get a selected row from the table.
if i have a link in every row how can i know which row was selected?
Not sure what you are attempting to do, but you can provide each row tag "tr" with unique id and use jQuery to handle clicks and return selections. Or there is always option of using buttons/checkboxes/radioboxes for each row. As I said, not knowing your requirements makes it difficult to advice
Moderator
Featured Poster
Reputation Points: 2229
Solved Threads: 587
Code tags enforcer
Online 5,027 posts
since Dec 2004