使用从http://rvera.github.io/image-picker/ jQuery的图片选择器插件(这在IE工程),把它放在我自己的网站具有以下HTML:为什么这个jQuery图像选择器在FireFox中工作,但不是IE?
<select id="test">
<option value="1" data-img-src="https://www.google.com/images/srpr/logo11w.png"></option>
<option value="2" data-img-src="https://www.google.com/images/srpr/logo11w.png"></option>
<option value="3" data-img-src="https://www.google.com/images/srpr/logo11w.png"></option>
</select>
及以下JS:
$(document).ready(function() {
$('#test').imagepicker();
});
似乎工作罚款在FireFox,但不是IE浏览器。有什么明显的我失踪了?
的jsfiddle这里:http://jsfiddle.net/5bVsV/
什么版本的IE?我试着用IE9在小提琴上给错误“访问被拒绝”,但只有1.10.1 jQuery,jQuery 1.6.4与标准作品。 –
IE 11 ...这很有趣。 – Brandon
在IE11中我必须设置jQuery 1.9.1,1.10破解插件(!!) –