no title...

Page 286

jQuery

<p>Click on any of the buttons</p>

<button id="less"> Less Opacity </button> <button id="more"> More Opacity</button>

<div class="target"> <img src="./images/jquery.jpg" alt="jQuery" /> </div>

<div class="log"></div>

</body>

</html> This will produce the following result:

hide() Method The hide( ) method simply hides each of the set of matched elements if they are shown. There is another form of this method which controls the speed of the animation.

Syntax Here is the simple syntax to use this method: selector.hide( );

Parameters Here is the description of all the parameters used by this method: 

NA:

Example Following is a simple example showing the usage of this method: 277


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.