faqts : Computers : Programming : Languages : Asp : ASP/VBScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 3 people (67%) answered Yes
Recently 2 of 3 people (67%) answered Yes

Entry

shall i call a asp fuction from vbscript ?

Nov 2nd, 2005 08:35
Jason Benson, Kannan Siva Murugan,


I don't know whether you "shall" or not, however if you want to...
<? 
   function SayHello()
      MyString = "Hello World!"
      SayHello = MyString
   End Function
Response.Write SayHello()
?>
Would output "Hello World!"
Server side VBScript cannot interact nicely with Client Side (ie VB 
where you would normally use Javascript) in Classic ASP/VB.



© 1999-2004 Synop Pty Ltd