Hey guys,
I have an asp.net page, which also has an asp.net listbox and an html button. When the html button is pressed, I need the selected item text to be passed to a javascript function which then opens a new window.
Question: How can I pass a value from an asp control to a javascript function? I know this is an old-school asp forum, but I figured you guys might have more experience with this sort of thing than us code-behind boys would.
![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Thanks guys,
Jack
I have an asp.net page, which also has an asp.net listbox and an html button. When the html button is pressed, I need the selected item text to be passed to a javascript function which then opens a new window.
Question: How can I pass a value from an asp control to a javascript function? I know this is an old-school asp forum, but I figured you guys might have more experience with this sort of thing than us code-behind boys would.
Thanks guys,
Jack