Christof Donat schrieb:
>>> It's as if when the id selector is passed then the $ method just uses a
>>> document.getElementById.
>>>       
>> Well IDs are supposed to be unique throughout the entire document (i.e.
>> there can be one and only one element in the entire document with an ID of
>> "myId"), so why shouldn't it simply use document.getElementById?
>>     
>
> Well, you might whant to work with an element only if it is inside another 
> one, which you already have:
>   
Unfortnuately, getElementById exists only for the document object, 
therefore you can't just say context.getElementById(...). I think this 
is the reason why jQuery can't help you there.

-- Jörn

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to