摘要:
可以通过让默认的input type = 'file'按钮透明度变为0,并且让它刚好覆盖在自定义的按钮上,来实现此效果:将它写成一个jQuery插件:(function($){ $.fn.browseElement = function(){ var input = $(""); input.css({ "position": "absolute", "z-index": 2, "cursor": "pointer", "-moz-opacity&q 阅读全文
posted @ 2014-02-13 12:47
诗&远方
阅读(1699)
评论(0)
推荐(0)

浙公网安备 33010602011771号