How to get ASP to run in JavaScript syntax

Source: Internet
Author: User
JavaScript ASP
Language is the default scripting language, ASP is encoded, so if you want to specify different scripting languages you have to state the scripting language you will use your code at the beginning. Here is the line of code that must be your first line of ASP code, otherwise your page will break and you will get a boring error message.

Advertising tizag.com
ASP code:
<% @ language = "JavaScript"
' The rest of the ASP code ....%>

Keep in mind that if this is not your front line ASP code then everything will break.

Learn the JavaScript
If you don't know the JavaScript very well, then, this might be a good idea if you just learn about VBScript and not let the ASP technology work with JavaScript. I have heard that the trainees have a lot of trouble with the ASP collaboration, properly JavaScript and just have no, many informative examples of programming ASP with existing JavaScript. Your ASP's career will be more comfortable if you just stick to VBScript from getting the road to go.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.