Raise Event from Javascript in Web User Control

J

Jim M

I finally got a user control working that has a HTML drop down list.

The user control is held in a simple parent test page.

The onchange is set to call a javascript function DropChanged() which is in
my user control. I want to keep the javascript in the user control so that
I can add it to many pages.

But now, how do I signal the parent page that my drop down list changed and
pass back the selectedIndex of the drop down?

I hope I have not travelled too far down the wrong path. Thanks in advance.
 

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

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top