by amit walke on October 9th, 2003

amit walke

Question

Help answer this question below.

What is the relationship between ASP and JScript or VBScript?

Answers. 1 helpful answer below.

  • by BuckyF on October 10th, 2003

    BuckyF

    JScript and VBScript are two scripting languages that can be used within an ASP page. ASP pages are unique to websites that are served by Microsoft's Internet Information Server (IIS), and can be identified by their .asp extension. These languages can also be used outside of a web page context, in environments that support them like the Windows Script Host, but the rest of this answer focuses on their use in a web environment.

    JScript is similar in structure to C, C++, or Java, and it is more browser-independent. VBScript is similar in structure to Visual Basic, and it's best suited for use in Internet Explorer. Either language can be used within an ASP page to perform client-side scripting and to aid in interaction with the user without requiring new requests to the server. Popular uses would include images that change when you move your mouse them or pull-down lists that dynamically populate based on other user-entered data on the page.

    If you're designing a page to be run by both Netscape and IE (or any other browsers), then JScript is probably the way to go. If you're designing pages just to be used by Internet Explorer, then VBScript is the way to go because it's more powerful within the IE environment. You can find a more thorough description here:

    http://msdn.microsoft.com/library/default.asp?URL=/library/en-us/dnclinic/html/vbsvjs.asp

Want to attach an image to your answer? Click here.

Did this answer your question? If not, then ask a new question or create a poll.

You're reading What is the relationship between ASP and JScript or VBScript?

Follow us on Facebook!

Related Ads

ANSWERBAG BUZZ

Asp vbscript relation
Asp and vbscript relationship
Relationship between vbscript and asp
Vbscript com relationship