Javascript and VBScript

Discussion in 'ASP General' started by John Peter, Feb 25, 2004.

  1. John Peter

    John Peter Guest

    i have an asp page where i am using a component that works if i use <%@
    Language= Javascript> at the top.

    But i also want to use VBScript functions in the asp code. how can i do
    that?

    Thanks,
    John.
    John Peter, Feb 25, 2004
    #1
    1. Advertising

  2. John Peter

    Chris Barber Guest

    Use:

    <script language="LanguageOfChoice" runat="Server">

    ... script ...

    </script>

    The @ directive applies only for usage of <% and %> as script delimiters.

    Chris.

    "John Peter" <> wrote in message
    news:uLSqpg8%...
    i have an asp page where i am using a component that works if i use <%@
    Language= Javascript> at the top.

    But i also want to use VBScript functions in the asp code. how can i do
    that?

    Thanks,
    John.
    Chris Barber, Feb 25, 2004
    #2
    1. Advertising

  3. John Peter

    John Peter Guest

    Thanks alot.

    John.

    "Chris Barber" <> wrote in message
    news:%23rd5Nn8%...
    > Use:
    >
    > <script language="LanguageOfChoice" runat="Server">
    >
    > .. script ...
    >
    > </script>
    >
    > The @ directive applies only for usage of <% and %> as script delimiters.
    >
    > Chris.
    >
    > "John Peter" <> wrote in message
    > news:uLSqpg8%...
    > i have an asp page where i am using a component that works if i use <%@
    > Language= Javascript> at the top.
    >
    > But i also want to use VBScript functions in the asp code. how can i do
    > that?
    >
    > Thanks,
    > John.
    >
    >
    >
    John Peter, Feb 25, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jamie
    Replies:
    1
    Views:
    704
    Jamie
    Dec 5, 2003
  2. William F. Robertson, Jr.

    javascript and vbscript in the same page

    William F. Robertson, Jr., Dec 7, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    6,592
    bruce barker
    Dec 7, 2004
  3. COHENMARVIN
    Replies:
    2
    Views:
    856
    Jason Kester
    Oct 20, 2005
  4. Martin

    Javascript and VBScript

    Martin, Dec 3, 2003, in forum: HTML
    Replies:
    17
    Views:
    2,239
    Whitecrest
    Dec 4, 2003
  5. Shadow Lynx
    Replies:
    10
    Views:
    5,391
    Dave Anderson
    Aug 9, 2006
Loading...

Share This Page