- Home
- Jquery Examples
- Hide Effect
jQuery - Hide Effect
विवरण :
कोई विवरण नहीं है |
सोर्स कोड :
<!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <style type="text/css"> #display{ padding:5px; } </style> <script type="text/javascript"> $(document).ready(function(){ $("#hide").click(function(){ $("#display").hide(); }); }); </script> </head> <body> <button id="hide"> Hide </button> <div id="display">Hello World </div> </body> </html>
आउटपुट :
Hello World