Search

11/20/2009

Clear upload file input field

Clear upload file input field
1. inputFile.value = '': work for ff, not work for ie6.
2. reset form: not very useful
3. use filewrapper.innerHTML = filewrapper.innerHTML, workable for ff/ie, remember to re-bind event listeners.

沒有留言: