Jump to content

<%@ Language=Javascript%>


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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...