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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Listbox value to msgbox

Status
Not open for further replies.

Frank123

MIS
Sep 17, 2001
77
US
I'm getting kind of confused with the whole clientside and serverside scripting. In the past I only used server side so now when I wanted to implement a msgbox things aren't going my way.
What I want to do is when a button is clicked on a ASP page, I want a message box to pop up with whatever is in the listbox at that time. I could do it with serverside scripting like this: listbox3.gettext()

Any ideas? Thanks!
And by the way, can you call a serverside function from a client-side function?
 
I ment subprocedure, not function in my last question..
 
to do your messagebox, you need to write some client-side vbscript that will be output to the client from your ASP script, instead of processed on the server-side.
 
Thanks alistairpaul, my msgbox is client-side and working it's just that I want to call a server-side subprocedure from a client-side subprocedure. I was hoping there would be a easy way of doing this...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top