Jump to content

<%@ Language=Javascript%>


joecool2005
 Share

Recommended Posts

Hi all,On ASP page ,when I use <%@ Language=Javascript%> in the 1st line, how can I add ASP code after? Anytime I try to write a ASP code, it shows me error. How can I fix it? Is there anything I need to add to go back on ASP code?Thx Joe

if that piece of code isn't in the 1st line of code, thaT'll cause the errortry to put it in the first line, maybe that's the solution
Link to comment
Share on other sites

Hi all,On ASP page ,when I use <%@ Language=Javascript%> in the 1st line, how can I add ASP code after? Anytime I try to write a ASP code, it shows me error. How can I fix it? Is there anything I need to add to go back on ASP code?Thx Joe

Are you trying to use code from the tutorials??? Those are in VBScript and cannot be used if you are choosing JavaScript as your ASP language...I would recommend you switch to VBScript because 99% of the material available about ASP is in VBScript.NOTE: Only use VBScript for ASP...not as a client scripting language because only IE knows VBSCript.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...