jQuery selector does not work in IE7/8
问题 Does anyone know why this would not work in IE7/8? drop_area = $('div#drop_area'); It works perfectly in IE9, FF2/3, and Chrome. Internet Explorer 7/8 gives the following error: SCRIPT438: Object doesn't support this property or method Edit: This is the HTML that goes with my javascript: http://pastebin.com/nwxx8RzW 回答1: The code you've shown on pastebin has numerous global variable issues. In other words, you are coding assuming that variables you are declaring are local in scope, whereas in