answersLogoWhite

0

Can you use javascript with asp?

Updated: 8/20/2019
User Avatar

Wiki User

12y ago

Best Answer

Although ASP is usually written with VBScript, JavaScript may be used if the ASP framework was compiled with JS functionality.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can you use javascript with asp?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you use javascript in aspnet?

Ajax, I believe uses JavaScript + ASP.


Can you get ipaddress by using javascript?

No, use asp


How can you script your ASP code in JavaScript?

Start the document with: <%@ language="javascript" %>


Can you incorporate a javascript code into asp?

Yes


What does ASP script return to the browser?

HTML (or JavaScript, CSS, PDF, CSV, whatever)


How do you declare session in javascript?

You can't. Sessions are a server-side technology. To properly implement a session, you have to use a server-side language like PHP, ASP, or Ruby.


How asp differs from client side scripting technologies?

ASP runs on the server. This means that ASP has access to thing like databases and file read/write that a client side script traditionally does not have. ASP doesn't rely on the code being intact in your users browser. Instead, it runs on the server, and returns the output. You can use the developer tools adjust the client side code. That makes it inherently insecure. Add to that the fact that ASP, like JSP, PHP, or any of a dozen other client side languages, is a complete language, with all the abilities of your traditional programming languages. JavaScript is limited by it's having to conform to the browsers security rules.


How do you check the data given by the user with database values using PHP from MySQL database?

You could use the string replace attribute but you might have to use Javascript, CGI, ASP or another scripting language to do so.


How to pass form data from one page to another by using get and post in HTML?

Generally, you would use some breed of a server-side script:PHP(what i use!!!), ASP and i think you might be able to use Javascript and Perl as well!!!


What is an HTML converter?

An HTML Converter is a program that will take your HTML files and modify them to be able to be used with PHP, Javascript or ASP.


How do you transfer VBScript variable value to JavaScript function as parameter in ASP?

An example answer can be found: http://www.planet-source-code.com/URLSEO/vb/scripts/ShowCode!asp/txtCodeId!8503/lngWid!4/anyname.htm


Why use VBscript in ASP?

The choice of VBscript in ASP versus other options is mostly personal perferance. Using VBscript allows you access to thousands of functions and operators to help you code easier, and more effectivley.A personal preference towards VBscript when coding in ASP may be because it follows the same style of programming. For example, a Javascript operator might look like this:&&Whereas an asp operator will be written as:AndVBscript follows this same methodology, and make for an easier "mesh" with the natural coding of ASP.