Comment Comment by ckuijjer jQuery uses getElementsByID, getElementsByClassName etc. when available in the browser. There is only a small overhead in parsing the selector to see if it's e.g. a simple ID or class selector. parent ckuijjer 13 years ago