Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Calling ASP functions in VBScript or Javascirpt


Message #1 by "Bharat Saboo / Bhamini Saboo" <bharatsaboo@h...> on Fri, 15 Mar 2002 10:03:07 +0530
This is a multi-part message in MIME format.

------=_NextPart_000_001E_01C1CC08.9AF90420
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Can someone tell me how to call ASP functions inside VBScript or 
JavaScript and if those functions return a value, how the values can be 
assigned to the script variables.

Also tell me how to assign values to ASP variables within the script 
tags.

regards

*****************************************
BHARAT SABOO

503/504, Mount, J.P. Road, Versova
Mumbai - 400061.

bharatsaboo@y...
*********************************************

Message #2 by Mark Eckeard <meckeard2000@y...> on Thu, 14 Mar 2002 20:49:39 -0800 (PST)
I don't think this can done.  Javascript & VBScript
are executed on the client, ASP is executed on the
server.

Anyone correct me if there is a way to do this.  My
curiosity is peaked!

Mark.
--- Bharat Saboo / Bhamini Saboo
<bharatsaboo@h...> wrote:
> Can someone tell me how to call ASP functions inside
> VBScript or JavaScript and if those functions return
> a value, how the values can be assigned to the
> script variables.
> 
> Also tell me how to assign values to ASP variables
> within the script tags.
> 
> regards
> 
> *****************************************
> BHARAT SABOO
> 
> 503/504, Mount, J.P. Road, Versova
> Mumbai - 400061.
> 
> bharatsaboo@y...
> *********************************************
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/
Message #3 by "Bharat Saboo / Bhamini Saboo" <bharatsaboo@h...> on Fri, 15 Mar 2002 12:01:59 +0530
This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C1CC19.3627A0E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

just got a brainwave
is it possible to run the scripts at the server, thereby running the ASP 
functions from within scripts
*****************************************
BHARAT SABOO

503/504, Mount, J.P. Road, Versova
Mumbai - 400061.

bharatsaboo@y...
*********************************************
  ----- Original Message -----
  From: Mark Eckeard
  To: ASP Web HowTo
  Sent: Friday, March 15, 2002 10:19 AM
  Subject: [asp_web_howto] Re: Calling ASP functions in VBScript or 
Javascirpt


  I don't think this can done.  Javascript & VBScript
  are executed on the client, ASP is executed on the
  server.

  Anyone correct me if there is a way to do this.  My
  curiosity is peaked!

  Mark.
  --- Bharat Saboo / Bhamini Saboo
  <bharatsaboo@h...> wrote:
  > Can someone tell me how to call ASP functions inside
  > VBScript or JavaScript and if those functions return
  > a value, how the values can be assigned to the
  > script variables.
  >
  > Also tell me how to assign values to ASP variables
  > within the script tags.
  >
  > regards
  >
  > *****************************************
  > BHARAT SABOO
  >
  > 503/504, Mount, J.P. Road, Versova
  > Mumbai - 400061.
  >
  > bharatsaboo@y...
  > *********************************************
  >
  >
  >


  __________________________________________________
  Do You Yahoo!?
  Yahoo! Sports - live college hoops coverage
  http://sports.yahoo.com/



Message #4 by "Ken Schaefer" <ken@a...> on Fri, 15 Mar 2002 17:39:18 +1100
This can't be done using plain client-side scripting and plain ASP.

ASP runs on the server first, then the page is sent to the browser, and the
browser runs the client-side script.

You could look at using remote scripting (IE only), or you need to
constantly repost the form back to the server using javascript, and have the
server do more work.

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Bharat Saboo / Bhamini Saboo" <bharatsaboo@h...>
Subject: [asp_web_howto] Calling ASP functions in VBScript or Javascirpt


Can someone tell me how to call ASP functions inside VBScript or JavaScript
and if those functions return a value, how the values can be assigned to the
script variables.

Also tell me how to assign values to ASP variables within the script tags.

regards

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  Return to Index