Monday, July 10, 2017

Define about The #id Selector.

The #id Selector

The jQuery #id selector uses the id attribute of an HTML tag to find the specific element.
An id should be unique within a page, so you should use the #id selector when you want to find a single, unique element.

Example

$(document).ready(function(){
    $("button").click(function(){
        $("#test").hide();
    });
});