call asp fuction on button click in asp
am 13.08.2007 10:04:49 von vinodkusdear sir/madam
1> I want to call an asp function through onclick method of button.
2> I want to call an asp function through javaScript
Thanks in advance
dear sir/madam
1> I want to call an asp function through onclick method of button.
2> I want to call an asp function through javaScript
Thanks in advance
wrote on 13 aug 2007 in microsoft.public.inetserver.asp.general:
> dear sir/madam
Wow!
>1> I want to call an asp function through onclick method of button.
Impossible, since ASP runs serverside code, and it is not very useful to
put a button on a server screen.
>2> I want to call an asp function through javaScript
Since asp is not a function but a serverside platform for running vbscript
or/and j[ava]script, an asp function as susch is a misnomer.
Impossible if you mean clientside javascript, because when that js runs,
the asp code on the server is already finished.
Quite possible when using serverside js, the function itself could even
have been written in js, but I suspect you know that by now.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
vinodkus@gmail.com wrote:
> dear sir/madam
> 1> I want to call an asp function through onclick method of button.
> 2> I want to call an asp function through javaScript
> Thanks in advance
Research the use of XMLHTTP, or Ajax as it is known today. For further
help with this, post to a client-side scripting group such as
..scripting.jscript
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.