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

Top 5 Contributors of the Month
Gaurav Pal

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

What are windows object and navigator object in JavaScript?

Posted By :Ghanashyam Nayak     Posted Date :September 28, 2010    Points :10   Category :JavaScript/VBScript 
Windows object is top level object in Java script. It contains several other objects such as, document, history, location, name, menu bar etc., in itself. Window object is the global object for Java script that is written at client-side.

Information pertaining to the client browser and system is returned by the navigator object of JavaScript. Navigator object is the top level object for all users.

You can also find related Interview Question to What are windows object and navigator object in JavaScript?  below: 

How do you create a new object in JavaScript?

var obj = new Object(); or var obj = {}; (More...)

How do you assign object properties in JavaScript?

Java script object properties are assigned like assigning a value to a variable. For example, the title property of document object can be assigned as follows:

document.title="Welcome to the world of Javascripting";

The submit value of form's action object is assigned as follows:

Document.form.action="submit" (More...)

What is a Null object?

It is an object of some class whose purpose is to indicate that a real object of that class does not exist. One common use for a null object is a return value from a member function that is supposed to return an object with some specified properties but cannot find such an object. (More...)

What is Object Oriented model?

This model is based on collection of objects. An object contains values stored in instance variables with in the object. An object also contains bodies of code that operate on the object. These bodies of code are called methods. Objects that contain same types of values and the same methods are grouped together into classes. (More...)

How can I look up a parent class method or property of any System-level object?

Use the Class View window, accessed from the standard toolbar by clicking View | Class View. (More...)

What is object Reference Tracing?

Object Reference Tracing is record sequential stack traces each time whenever object reference counter is incremented or decremented. These traces help to detect object reference errors, double-dereferencing, failure to reference. (More...)

How do you implement thread synchronization (Object.Wait, Notify,and CriticalSection) in C#?

You want the lock statement, which is the same as Monitor Enter/Exit: (More...)

What are object-oriented concepts?

Encapsulation; (More...)

Which method is used to serialize an object into an XML document from Xmlserializer class?

The "Serialize" method is the first step of serialize process and used to create an XML document (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