hide
?? [ha?d]
vt.???, ???, ???, ???
n.???; ;??;<?> ??? ?? ???(???? ???)
jquery hide() ?? ???
??: ??? ??? ?? ???? ??? ?? ??? ????.
??: ??$(selector).hide(speed,callback)
????:
???? | Description |
speed | ????. ??? ???? ???? ???? ??? ?????. ???? "0"???. ??? ?: ???(?: 1500) "??" "??" "??" ??? ??? ? ??? ??, ??, ??, ?? ? ???? ????? ?????. |
?? | ???????. ??? ??? ??? ? ??? ?????. ?? ????? ???? ??? ? ????? ??? ? ????. |
??: ??? ?? ??? ??? ?? ?? ??? ???? ?? ? ? ??? ?? ??? ???? ????.
jquery hide() ?? ?
<html> <head> <script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".btn1").click(function(){ $("p").hide(); }); $(".btn2").click(function(){ $("p").show(); }); }); </script> </head> <body> <p>This is a paragraph.</p> <button class="btn1">Hide</button> <button class="btn2">Show</button> </body> </html>
??? ????? ??? "???? ??" ??? ?????