Paul Irish 13 December 2011 @Matthew.. “Would it be possible for jQuery to detect when an ID is the first bit of a selector string and … do a getElementById call “ It does that. :) https://github.com/jquery/jquery/blob/2a63b98/src/core.js#L141-143
@Matthew.. “Would it be possible for jQuery to detect when an ID is the first bit of a selector string and … do a getElementById call “
It does that. :)
https://github.com/jquery/jquery/blob/2a63b98/src/core.js#L141-143