Id Selector

Syntax

$("#id")

Description

Id Selector is used to select all the elements containing the required id. # symbol is used to identify the elements in a form with particular id. The below example explains how to select all the elements containing the id "important". Click on the "Test" button to know the result.

Example Code

Result:

Hiox India is a web hosting company.

Visit our web site to know more


Ask Questions

Ask Question