<html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("button").click(function(){ $(this).hide(); }); }); </script> </head> <body> <button>Click me</button> </body> </html>
Add jquery.js in your project
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)