摘要: html中的placeholder属性很好用,但是不支持神奇的IE,下面是解决方法:先给出 Demo// This adds 'placeholder' to the items listed in the jQuery .support object.jQuery(function() { jQuery.support.placeholder = false; test = document.createElement('input'); if('placeholder' in test) jQuery.support.placeholder 阅读全文
posted @ 2013-07-17 15:36 华生_ 阅读(350) 评论(0) 推荐(0) 编辑