...

View Full Version : ASP Button - Call Function



WilliamHolmes
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();"

functionX()
{
.....
}

(Using ASP VBScript)

glenngv
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).

WilliamHolmes
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 !

:thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum