0

朋友 以下代码在 IE 8 和 IE 9 上引发错误,为“Permission denied jquery-1.8.1.min.js” 但是它在 Chrome 和 Firefox 上运行良好,可能有什么问题

$(function() {

    var fileTypes = ['txt'];

    $('.input-file').find('input[type="file"]').live('change',function(e){
        $this = $(this)
        var ext = $this.val() === "" ? "" :this.value.match(/\.(.+)$/)[1];
        if($this.val()){
             $this.parent().find('label').text($this[0].value)

        }

请建议

4

0 回答 0