Take a look at this: http://www.texotela.co.uk/code/jquery/select/
----- Original Message ----- From: "roosteronacid" <roosterona...@gmail.com> To: "jQuery (English)" <jquery-en@googlegroups.com> Sent: Friday, January 23, 2009 9:44:27 AM GMT -05:00 US/Canada Eastern Subject: [jQuery] Adding many <option> elements to a <select> element Consider the following: var i, select = $("select"); for (i = 0; i < 1000; i += 1) { select.append("<option>"); } Performance in Internet Explorer is terrible. So is: var a = [], i, select = $("select"); for (i = 0; i < 1000; i += 1) { a.push("<option>"); } select.append(a.join()); Besides creating a wrapper element, manually constructing HTML code and using the innerHTML property on that wrapper-element, what can I do to increase performance? (Performance in Internet Explorer in particular).