0% found this document useful (0 votes)
14 views1 page

JavaScript Selectors Overview

Uploaded by

Ashish Nishad
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views1 page

JavaScript Selectors Overview

Uploaded by

Ashish Nishad
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Address :- New Delhi Contact :- 8882880965

STP COMPUTER EDUCATION


The Best Quality of Software Programming Computer Education
[Link]

SUBJECT :- WEB DESIGNING

Chapter - 10
Selectors in JavaScript

Selectors are used to select html elements to perform some task and
actions on html elements.

There are so many Selectors in JavaScript .

1. getElementsByTagName() : select HTML element through tag name.

2. getElementsByName() : select HTML element through the value of

name attribute.

3. getElementById() : select HTML element through the value of id

attribute.

4. getElementsByClassName() : select HTML element through the

value of class attribute.

You might also like