I have text box. When I drag and drop a file into it, the path, or content of the file should be displayed. The maj开发者_运维百科or concern being it's compatibility with all versions of IE. I am a beginner in JavaScript programming. Can anyone suggest any idea or some tricks to get through?
By far the best solution is to use one of the Javascript libraries. I know script.aculo.us, but I'm sure that others such as jquery, dojo and mootools would do just as well. All these libraries, as well as making Javscript programming much easier, have hacks in to cope with non-standard browsers (ie IE), so that you - the programmer - don't have to worry about which browser.
精彩评论