摘要: /** * 检查浏览器是否支持某种类型的输入控件 * @param {Object} type */function inputSupportsType(type){ if (!document.createElement) { return false; } var input = document.createElement("input"); input.setAttribute("type", type); if (input.type == "text" && type != "text" 阅读全文
posted @ 2011-10-21 13:09 wkylin 阅读(7005) 评论(0) 推荐(0) 编辑