Here is what I'm try to do.
I have allop reading records from a database with the data I'm create a list HTML where XXXXXX is the value from the database is a way that I can send that value to a JavaScript function inside teh loop before apply the results
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td
<select name="test">
<option value=" ">Blank line</oprion>
loop here
<option value=XXXXXXXXX>Lower latter</oprion>
end loop
</select>
</td>
</tr>
</table>