Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_discuss thread: Calling Function


Message #1 by "Dibyendra Hyoju" <dibyendra@y...> on Tue, 29 Oct 2002 13:11:27
Is it possible to call ASP function from javascript and vice versa ?
Message #2 by Greg Griffiths <greg2@s...> on Tue, 29 Oct 2002 21:14:12 +0000
No, one is client side, the other is server side. The only way would be to 
submit the form with some value set by Javascript to be utilised by ASP or 
for an ASP page to create a page that ran a Javascript on load.

At 13:11 29/10/02 +0000, you wrote:
>Is it possible to call ASP function from javascript and vice versa ?


Message #3 by Teng-Fong SEAK <tfseak@f...> on Wed, 30 Oct 2002 09:52:02 +0100
>Is it possible to call ASP function from javascript and vice versa ?

Do you really mean JavaScript for the client side, or do you mean JScript in
server side?  If it's the client side scripting languages you're talking
about, the answer is no, no matter if it's JavaScript or VBScript.  Because
these scripting languages don't have any object for direct internet
connection.  Or put it simply, we're dealing with webpages.

PS: Actually, we would say "is it possible to access ASP objects from
......"
Message #4 by Bob Jones <Bob.Jones@t...> on Wed, 30 Oct 2002 06:47:09 -0600
Yes, of course it's possible. But it can be done only "server side", not
"client side." You can write in JScript (Microsoft's version of JavaScript)
on the "server side" just as easily as you can use VBScript.

-----Original Message-----
From: Greg Griffiths [mailto:greg2@s...]
Sent: Tuesday, October 29, 2002 3:14 PM
To: asp_discuss
Subject: [asp_discuss] Re: Calling Function


No, one is client side, the other is server side. The only way would be to 
submit the form with some value set by Javascript to be utilised by ASP or 
for an ASP page to create a page that ran a Javascript on load.

At 13:11 29/10/02 +0000, you wrote:
>Is it possible to call ASP function from javascript and vice versa ?




  Return to Index