View Full Version : ASP Button - Call Function

06-24-2007, 10:03 PM
Hi. Is there any way i can show eg. a DIV with two buttons or images on it.
eg. YES - NO.

If the user clicks on Yes then an ASP function is called to do something WITHOUT refreshing the page ?

similarto the javascript onclick="functionX();"


(Using ASP VBScript)

06-25-2007, 04:55 PM
You can send HTTP request to the server without refreshing the page via AJAX (http://www.w3schools.com/ajax/default.asp).

06-25-2007, 07:44 PM
I've never tried to program in AJAX but im fairly up to date in Javascript and XML so it shouldt be to hard.

Thanks for the help and the nudge to start learing AJAX !