I have a jsb page that has a table . This table are auto-generated according to the database records. For each row , I have ajax apply to its drop menu 1 and fill drop meun 2 and this ajax is applied to all table rows.
var dropdown = document.getElementById("dropdown"+i);
and i should get it from the Servlet response ?