How to make IE8/9 submit input type=“file” when javascript triggered dialog open

后端 未结 2 949
春和景丽
春和景丽 2021-01-12 17:00

If I have an input type=\"file\" somewhere, and on click of some link it also triggers a click on the file input. The user picks a file.

In IE8/9 if the

2条回答
  •  太阳男子
    2021-01-12 17:44

    I found that using the jquery fileupload extension is just better. It handles the intricacies much much better than I could had I been doing it manually. It basically does what jquery does for x-browser dom manipulation & ajax but for input type="file".

提交回复
热议问题