Which jQuery method is used to hide selected elements?
The jQuery hide() method is used to hide selected elements. Tip: This is similar to the CSS display: none; property. Note: Hidden elements will not be displayed at all (no longer affects the layout of the web page). Tip: To show hidden elements, look at the show() method.
Syntax:-
$(selector).hide(speed,easing,callback);
Example:-
Hide all <img> elements:
$("button").click(function(){
$("img").hide();
});
With jQuery, look at the following selector: $("div.intro"). What does it select?
What is the correct jQuery code to set the background color of all p elements to red?
The jQuery html() method works for both HTML and XML documents
Is it possible to use jQuery together with AJAX?
Is jQuery a library for client scripting or server scripting?