Syntax for linking to javascript/vbscript on the server side/client side

  • Thread starter Thread starter Eitan
  • Start date Start date
E

Eitan

Helo,
I need to link the aspx page to a general vbscript (run on the server side).
The code has the line :
<%@ page language="vb" autowventWireUp="false" codeBehind="myasp.aspx.vb"
inherits "myProg.myasp"%>

If I want to use a general vbscript, that is good for all of my aspx forms,
is it just put another line as above, or there are more things I should do.
Need an example, please.

Also,
I need code for doing the same for the client side of the aspx page.
Is it the syntax : <script language="vb" src="" /> ?
Need sample code, please.

Thanks :)
 
....
Also, using vb code,
from another vb code (that may be a class).
i.e. myAspx.aspx.vb using the code of general.vb (can it be java, or c#) .

Thanks :)
 
....
Also, using vb code,
from another vb code (that may be a class).
i.e. myAspx.aspx.vb using the code of general.vb (can it be java, or c#) .

Thanks :)
 
Back
Top