Call me crazy because I'm basically trying to re-invent the wheel here but I learn from doing things the hard way....and the sales guys want the site to look consistant.
I'm attempting to create like the JavaScript Confirm....
I already have a control that asks the user to confirm what they are doing.
It's a little complicated because there's a bunch of different aspects to the control. I guess the important part is that it was originally designed to be displayed and ask confirmation before continuing. The response that the user selects is then posted back to the web server (or may just close client side if configured to prevent postback).
Anyways, I'd like to modify this control so that it displays, waits for user input, and returns the value the user chose via JavaScript (without posting back to the server).
I have been attempting to modify the JavaScript function used to display the control so that it waits for user input and returns the value that the user selected.
The problem is that I'm not sure how to "wait for user input".
Any information, or even keywords to use in a google search, on this topic would be greatly appreciated.
Thanks again,
-Frinny
I'm attempting to create like the JavaScript Confirm....
I already have a control that asks the user to confirm what they are doing.
It's a little complicated because there's a bunch of different aspects to the control. I guess the important part is that it was originally designed to be displayed and ask confirmation before continuing. The response that the user selects is then posted back to the web server (or may just close client side if configured to prevent postback).
Anyways, I'd like to modify this control so that it displays, waits for user input, and returns the value the user chose via JavaScript (without posting back to the server).
I have been attempting to modify the JavaScript function used to display the control so that it waits for user input and returns the value that the user selected.
The problem is that I'm not sure how to "wait for user input".
Any information, or even keywords to use in a google search, on this topic would be greatly appreciated.
Thanks again,
-Frinny
Comment