jQuery(document).ready(function(){ $("button").click(function(){ var btn =$("button"); btn.animate({height:'300px'},"slow"); btn.animate({width:'300px'},"slow"); btn.animate({height:'100px'},"slow"); btn.animate({width:'100px'},"slow"); }); }); </script> </head> <body> <button style="height:25px; width:150px">Start Animation </button> </body>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)