Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Javascript and VBScript

Reply
Thread Tools

Javascript and VBScript

 
 
John Peter
Guest
Posts: n/a
 
      02-25-2004
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.


 
Reply With Quote
 
 
 
 
Chris Barber
Guest
Posts: n/a
 
      02-25-2004
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.



 
Reply With Quote
 
 
 
 
John Peter
Guest
Posts: n/a
 
      02-25-2004
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.
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASPX, VBScript, JavaScript, Double-Underscored Variables and setTimeOut Shadow Lynx ASP .Net 10 08-09-2006 07:40 PM
Making the same button do client side javascript and server side vbscript? COHENMARVIN ASP .Net 2 10-20-2005 01:13 AM
javascript and vbscript in the same page William F. Robertson, Jr. ASP .Net 3 12-07-2004 07:17 PM
mixing Javascript and VBScript in ASP.NET? Jamie ASP .Net 1 12-05-2003 11:54 PM
Javascript and VBScript Martin HTML 17 12-04-2003 08:08 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57