2013-05-06 108 views
1

我想從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:


回答

1

打開具有管理員previliage.dropbox Internet Explorer的彈出菜單是HTTPS和覺得你的網站是http。它不會從https返回值。你可以嘗試管理員預先

相關問題