Wednesday, August 18, 2010

Can i use javascript for ASP programming other than VBscript?

I need to know wether i can use javascript to script ASP pages with out the use of VBscript. I am new to ASP and dont know how to program in VBscript.Can i use javascript for ASP programming other than VBscript?
Simple answer: yes.





Even ASP.NET allows javascript. ASP and ASPX pages are basically HTML pages that allow code block from other languages %26lt;like VB or C#%26gt; to be embedded in them, think JSP if you are familliar with that. In the normal HTML flow of the page you can drop in JavaScript wherever you need to. The point of ASP and ASP.NET though is to utilize Code-Inline and Code-Behind so be prepared to learn VB or C# for that portion of the web application.





http://www.w3schools.com/asp/default.asp


http://www.w3schools.com/aspnet/default.aspCan i use javascript for ASP programming other than VBscript?
You can embed javascript by using the language parameter such as:





%26lt;script language=';javascript';%26gt;


...


...code...


%26lt;/script%26gt;

No comments:

Post a Comment