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

Top 5 Contributors of the Month
Ava Aiden
Imran Ghani
Thomas Shaw

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

How to Accessing Elements?

Posted By :Ghanashyam Nayak     Posted Date :September 20, 2010    Points :10   Category :JavaScript/VBScript 
The elements of JavaScript are accessed by their names. By default the browser is accessed by the element 'windows' and the page by 'document'. The corresponding element has user defined names for forms and its elements. For example

var passwd = windows.document.frmLogin.password.value;

assigns the value of the password field of the form fromLogin in the current document, where password is the name of the element and frmLogin is the name of the form. Like wise any form element is accessed.

You can also find related Interview Question to How to Accessing Elements?  below: 

Are there any restrictions or requirements for accessing the Windows SharePoint Services?

No. There are no system or bandwidth limitations for international trial users. Additionally Language packs have been installed which allow users to set up sub-webs in languages other than English. These include: Arabic, Danish, Dutch, Finnish, French, German, Hebrew, Italian,Japanese, Polish, Portuguese (Brazilian), Spanish and Swedish. (More...)

What are pseudo-elements?

Pseudo-elements are fictional elements that do not exist in HTML. They address the element's sub-part (non-existent in HTML) and not the element itself. In CSS1 there are two pseudo-elements: 'first-line pseudo-element' and 'first-letter pseudo-element'. They can be attached to block-level elements (e.g. paragraphs or headings) to allow typographical styling of their sub-parts. Pseudo-element is created by a colon followed by pseudo-element's name, e.g:


and can be combined with normal classes; e.g:


First-line pseudo-element allows sub-parting the element's first line and attaching specific style exclusively to this sub-part; e.g.:

P.initial:first-line {text-transform: uppercase}

The first line of this paragraph will be displayed in uppercase letters

First-letter pseudo-element allows sub-parting the element's first letter and attaching specific style exclusively to this sub-part; e.g.:

P.initial:first-letter { font-size: 200%; color: red}

The first letter of this paragraph will be displayed in red and twice as large as the remaining letters


What are the elements inside an assembly?

A .NET assembly consists of the following elements,
A Win32 File Header
A CLR file header
CIL code
Type Metadata
An assembly manifest
Optional embedded resources (More...)

Which class is the base class of all the visual elements of WPF?

'Visual' is the base class of all the visual elements of WPF. (More...)

Which class of the WPF is the base class of all the user-interactive elements?

Control class is the base class of all the user-interactive elements in WPF. (More...)

Elements of Ethernet System ?

1. Medium

2. Set of Medium Access Control Rules

3. Ethernet frame (More...)

Workflow can be applied to what all elements of SharePoint ?

Workflow associations are often created directly on lists and libraries, a workflow association can also be created on a content type that exists within the Content Type Gallery for the current site or content types defined within a list. In short, it can be applied ...
At the level of a list/library
At the level of a content type defined at site scope
At the level of a content type defined at list scope

How can you sort the elements of the array in descending order?

By calling Sort() and then Reverse() methods. (More...)

How can you sort the elements of the Array in descending order?

We can sort the array in descending order by calling
Array.Sort() and then by calling Array.Reverse() method. (More...)

Explain how to sort the elements in HashMap.

The elements of HashMap can be sorted by using the static method Collections.sort().

For example: Collections.sort(hashMapObject); // hashMapObject is an instance of HashMap (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