Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS IDs vs Classes Re: IDs vs Classes

#58695
TheDoc
Member

I’m not 100% sure on this, but if you end up using some sort of JS on the page I think jQuery is a tiny bit quicker when looking for IDs over classes. I could be wrong here and it most cases it wouldn’t matter (since the speed difference would be incomprehensible to most people) but it’s something to consider if you were building a massive form.