$(function () { $('.search_input').bind({ focus: function () { if (this.value == this.defaultValue) { this.value = ""; } }, blur: function () { if (this.value == "") { this.value = this.defaultValue; } } }); })
posted on 2016-06-29 18:02 刘顺利 阅读(444) 评论(0) 编辑 收藏 举报