Yes
Start the document with: <%@ language="javascript" %>
Although ASP is usually written with VBScript, JavaScript may be used if the ASP framework was compiled with JS functionality.
Ajax, I believe uses JavaScript + ASP.
No, use asp
HTML (or JavaScript, CSS, PDF, CSV, whatever)
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.
A JavaScript tutorial contains instructions that will teach you how to code in JavaScript.
jQuery is like an advanced JavaScript code. jQuery is a JavaScript code library that gives you more features with less code that what Javascript would require. If you understand JavaScript, jQuery wouldn't be much of a change.
ASP can't be put 'in' HTML. ASP can be written in files where HTML is written. ASP can also output HTML.
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.
Write an ASP code that will dislplay the source code of the web page in the Browser window.
we can do this using of javascript. you can use this following code: <input type=button value="button" onClick=onclick_function()> here onclick_function() is a function which is called by javascript on clicking the button. javascript code is as follows: <script language="javascript" type="text/javascript"> // your code for onclick_function() function onclick_function(){ alert("Welcome to javascript"); } </script>