.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Interview Question >> JavaScript/VBScript >> Post New Question Subscribe to Interview Questions

Is a java script script faster than an ASP script?

Posted By : LEANORD     Posted Date :October 26, 2011    Points :40   Category :JavaScript/VBScript 
Since javas cript is a client-side script it does require the web server's help for its computation,so it is always faster than any server-side script like ASP,PHP,JSP etc.

You can also find related Interview Question to Is a java script script faster than an ASP script?  below: 

How to add a combo box dynamically at run time in Java script?

document.forms[0]..options[index] new Option("Add text Value") (More...)

What is the result of below given line of code in Java Script? 5+4+'7'

The answer is 97.

As 5 and 4 are integer so total becomes 9 and it's add '7' to it as string so it becomes 97.

What can java script programs do?

Generation of HTML pages on-the-fly without accessing the Web server. The user can be given control over the browser like User input validation Simple computations can be performed on the client's machine The user's browser, OS, screen size, etc. can be detected Date and Time Handling. (More...)

Java Script

This Condition is True. Even x is INT and y is String.
Because == only Check only the value are equal. not Data type.

use Identical Operator (===) for check int === string.
like x=5; y="5";


False (More...)

Is jQuery replacement of Java Script?

No. jQuery is not a replacement of JavaScript. jQuery is a different library which is written on top of JavaScript. jQuery is a lightweight JavaScript library that emphasizes interaction between JavaScript and HTML.

Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?

AsyncPostBackTimeout Property needs to set which gets or sets a value that indicates the time, in seconds, before asynchronous postback time out if no response is received from the server.

The default value of this property is 90 second. We can also set the user defined error message using asyncpostbackerrormessage property (as shown in above code) for time out. (More...)

What the different between "Script declared in head section" and "Script declared in body Section"

Script declared in Head Section, Page Loading time the script was executed. you call the script explicitly then only use of this script.
Script declared in Body section, it execute the time of body section load. (More...)

Can we add multiple script managers on a single page?

No it will throw error, a page can contain only one ScriptManager control in its hierarchy. To register services and scripts for nested pages, user controls, or components when the parent page already has a ScriptManager control, use the ScriptManagerProxy control.

The purpose of ScriptManager is just to enables AJAX In Your Web Application. so adding multiple ScriptManager doesn't make any sense. (More...)

What advantage does a transaction have over a batch or script?

In short A transaction executes as a single unit of work. If a transaction fails, it can be rolled back as a unit, leaving data in a consistent state. (More...)

How can you create script of objects in database?

Sql Server Management Studio can be use to generate script of all the objects in database server. (More...)

How To Convert String to Integer in vb script or Numberformat.

Normally We Can Convert String To Integer using some Built-in Function.

2.Clng (More...)

What is the Difference between subroutine and function In VB Script

Function Should Return a Value

Subroutine does not return any Value (More...)

Is it possible to use Multiple Script Manager in the Web page?

No , I think, It is not possible to use it .But Single Script manager is enough. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend