需要代码

解决方案 »

  1.   


                $(function () {
                    $("#文本框ID").mouseenter(function () {
                        $(this).animate({ heigth: "50" }, "slow", "swing", null);
                    });
                    $("#文本框ID").mouseleave(function () { $(this).css('height', '30px'); });
                });
    jquery 的 animate 方法可以轻松实现你的需求的;
    另外就是两个鼠标事件了~