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


Top 5 Contributors of the Month
Kaviya Balasubramanian
Sgraph Infotech
Imran Ghani


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


Post New Question Subscribe to Interview Questions
 
Quick Links For Interview Questions Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  OOPs  JQuery  JavaScript/VBScript
BiztalkPatten/PracticesIISWCFWPFWWF
NetworkingAptitudeOthers  All    
 

JavaScript/VBScript Interview Questions and Answers

What do you mean by Constructor?

Author: PLC Technologies          Posted Date: December 17, 2014    Category: JavaScript/VBScript     Points: 40

Constructor gets invoked when a new object is created. Every class has a constructor. If we do not explicitly write a constructor for a class the java compiler builds a default constructor for that class.

What is isNaN function in JavaScript?

Author: Subhransu Sekhar Jena          Posted Date: September 28, 2014    Category: JavaScript/VBScript     Points: 40

It's return true if the argument is not a number

What are JavaScript types?

Author: Subhransu Sekhar Jena          Posted Date: September 28, 2014    Category: JavaScript/VBScript     Points: 40

Boolean, Function, Object, Null, Number, Object, String, Undefined.

How to detect the operating system on the user machine in javascript?

Author: Subhransu Sekhar Jena          Posted Date: September 28, 2014    Category: JavaScript/VBScript     Points: 40

We can use appVersion string. This is property.

How to show modal pop up upon on focus of a text area

Author: Ashutosh Jha          Posted Date: July 31, 2014    Category: JavaScript/VBScript     Points: 40

Below is the javascript code that can be used to show the pop up box upon on focus of a text area-

$('#myModal').on('shown', function () {
$('#textareaID').focus();
})

How do you check if a variable is an array in JavaScript

Author: Ashutosh Jha          Posted Date: July 29, 2014    Category: JavaScript/VBScript     Points: 40

if (i2 instanceof Array) {
alert('v1 is Array!');
} else {
alert('i2 is not an array');
}

What is the downside of JavaScript minification?

Author: Daniel Bhagathsingh          Posted Date: December 30, 2013    Category: JavaScript/VBScript     Points: 40

They are harder to read and debug. However, for development and debugging we can use non-minified versions. Just before deployment, minify and use the minified versions on the production environment.

What is the difference between jquery.js and jquery.min.js?

Author: Daniel Bhagathsingh          Posted Date: December 30, 2013    Category: JavaScript/VBScript     Points: 40

jquery.min.js is the minified version, where as jquery.js is the non-minified version. In your production website always use minified files as they download faster and consumes less bandwidth.

Is any of the functionality lost because of minification?

Author: Daniel Bhagathsingh          Posted Date: December 30, 2013    Category: JavaScript/VBScript     Points: 40

No, the functionality will be exactly the same as before.

What is NaN in Javascript

Author: volvo          Posted Date: December 01, 2013    Category: JavaScript/VBScript     Points: 40

Return true if the argument is not a number.
« Previous12345678910….1516Next »



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