点击改变尺寸
input[type=’text’]{ width:100px; height:30px; border-radius:5px;}
(document).ready(function() {("input[type='text']").focus(function(){
(this).animate({"width":"200px","height":"35px"})
}).blur(function(){(this).animate({"width":"100px","height":"30px"}) }); });