On 28/08/12 19:11, Trevor Parscal wrote:
On Tue, Aug 28, 2012 at 12:57 AM, Tim Starling tstarling@wikimedia.orgwrote:
Personally, I would use document.getElementById() to do that. It's standard, and it's faster and more secure.
I think your premature optimization disorder (POD) is flaring up again. jQuery performance is something that should be understood but not obsessed about. Is the code running in a tight loop? Is there a perceivable performance problem? No? Move on please.
Don't feed the troll.
-- Tim Starling