Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ca I do this with java script

Status
Not open for further replies.

4345487

Programmer
Dec 31, 2002
132
US

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>
 
4345487, I dont think I understand what you are trying to do here. Are you wanting to pass values to a Javascript function before the page has loaded (i.e. server side code is still running)? If so, no you cant and I'm not sure why you would need to.

If you can explain what you are trying to achieve then we'll be able to help.

nick
 

Thanks,

You are correct javascript is in the client side and the database is in the server I will try something else

Thanks
again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top