interview questions and answers

Web Technologies Interview Questions | Java Script Interview Questions

Home interview questions Web Technologies interview questions Java Script 
Saturday, 11 February 2012
Main Menu
Home
Online Test
Contest
Search
FAQs
Contact Us
Login
Most Popular Category
JAVA

Microsoft Technologies
ASP, C#, DotNet, ...

Programming
C++, PHP, VB, ...

SAP

Testing

Web Technologies

Polls
Does personal networking help in job search?
 
IT Placement Papers interview questions Web Technologies interview questions Java Script

This category contains Java Script Interview Questions and Answers


How to Accessing Elements using javascript?

PDF Print E-mail

o do something interesting with HTML elements, we must first be able to uniquely identify which element we want. In the example

We can use the "getElementById" method (which is generally preferred) document.getElementById("useless").style.color = "red"; or we can use the older hierarchical navigation method, document.forms[0].mybutton.style.color = "blue"; Notice that this uses the "name" attribute of the element to locate it.




Be first to comment this article

Only registered users can write comments.
Please login or register.

 
< Prev   Next >

Web Technologies Interview Questions | Java Script Interview Questions

Top!
Top!
Copyright © 2008 InterviewDuniya.com All Rights Reserved.
Partner Site: Maheshwari Matrimony