摘要: $(function() { var inputEl = $('#input_test'), defVal = inputEl.val(); inputEl.bind({ focus: function() { var _this = $(this); if (_this.val() == defVal) { _this.val(''); } }, blur: function() { var _this = ... 阅读全文
posted @ 2013-11-26 14:09 白小虫 阅读(219) 评论(0) 推荐(0) 编辑