摘要: jquery 清空 option $(“#sel”).empty();添加4法:1:$('#example').append('<option value="foo" selected="selected">Foo</option>');2:('#example').append(new Option('Foo', 'foo', true, true));3:var options = $('#example').attr('o
阅读全文
posted @ 2011-11-23 22:50 94cool 阅读(5) 评论(0)
编辑