我想從Dropbox帳戶獲取文件並將其預覽鏈接保存到我的db.this代碼在morzilla中正常工作,但不能在Internet Explorer中工作.so plz建議我: jqueryCOde:從Dropbox中選擇不工作在Internet Explorer中
<script type="text/javascript"> var jQuery182 = jQuery.noConflict(); </script>
<script type="text/javascript">
jQuery182(function() {
jQuery182("#db-chooser").live("DbxChooserSuccess", function (e) {
var take = this.value;
jQuery182(this).parent().find('.img').remove();
jQuery182(this).parent().find("#hdField").val(take);
jQuery182(this).parent().append("<a class='img' href='" + take + "' target='_blank' >Image</a>");
});
jQuery182('.dropboxx').each(function() {
var imagePath = jQuery182(this).parent().find("#hdField").val();
if (imagePath.length > 0) {
jQuery182(this).parent().append("<a class='img' href='" + imagePath + "' target='_blank' >Image</a>");
(jQuery182(this).parent().find('div').addClass('dropbox-chooser-used'));
}
});
});
</script>
這是HTML: