进出口面临的jQuery的问题在Internet Explorer 7和8:Internet Explorer不知道如何选择标记添加到选择在jQuery的
我试着去一个选项标记添加到现有的选择:
var s = document.getElementById("category");
s.options.add(select_option);
但IE只是说:Object doesn't support this property or method
并指向s.options.add(select_option);
任何人的想法?
请告诉更多的代码 – 2010-10-18 14:47:05
您是否尝试过的jQuery? – Diego 2010-10-18 14:47:09
确定's'实际上是一个''