您的位置:首页 > Web前端 > HTML

HTML <input type='file'> File Selection Event

2015-10-05 16:20 375 查看
http://stackoverflow.com/questions/3528359/html-input-type-file-file-selection-event

Listen to the change event.
input.onchange = function(e) {
..
};

Get selected file path:

document.getElementById('my_input').value
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: