Setting Javascript as an argument to new eventhander?

J

JuneCleaver

I have a combobox on an asp.net page. I would like to enable or
disable other controls on this page dependent upon what is selected in
the combobox.

My combobox is created dynamically on page_load. I would like to set
its SelectedIndexChanged to some javascript that I have defined in the
HTML portion of my ASPX.

I do not want to go to the server to handle my 'onchanged' event.

Any ideas on how to do this? Or maybe you have a better way to
accomplish what I would like to do?

Thanks,
HH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top