Dynamic content of <select>

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Hello,

I have an ASP page that contains a custom control that has a <select> element. I would like to add some <option> elements dynamically from the ASP page. How can I do that?

Thanks
Mike
 
for a sec I thought I am looking at ASP newsgroup.
If its ASP, you can use <% vbscript or javascript %> and make the <option> tags. if its ASP.Net code behind, you can use RegisterStartupScript to send the script which creates.

Av.

Hello,

I have an ASP page that contains a custom control that has a <select> element. I would like to add some <option> elements dynamically from the ASP page. How can I do that?

Thanks
Mike
 
Back
Top