ele.getElementsByTagName('input').getObjectURL = function(file) {
var url = null;
if (window.createObjectURL != undefined) {//basic
url = window.createObjectURL(file)
} else if (window.URL != undefined) {//firefox
url = window.URL.createObjectURL(file)
} else if (window.webkitURL != undefined) {//webkit or chrome
url = window.webkitURL.createObjectURL(file)
}
return url
};
想大神能帮忙解答一下这段代码
??,除了什么问题
哦 就是想帮忙看一下window.createObject(file)是啥意思