Code it ALL
Id Selector in jQuery - CodeGK

♦ Id Selector in jQuery

♣ Example3: Id Selector in jQuery

The Id Selector selects by looking up element of required Id.
Note that an Id is unique to element in a page.
Also, note that as a consequence of which if the page has multiple elements with the same Id then the first element having that particular Id will be selected.
Below is the representation of Id Selector Syntax.
Basic Syntax
Syntax Explanation:
demo : id assosciated with tag element for selection
In this example, .