jQuery selector bug? composed selector vs. simple selector & find()
问题 Something is very awkward about my situation... i have something like this: <div id="selector"> <input type='radio' /> <input type='radio' /> <input type='radio' /> </div> if I use $("#selector input[type=radio]") all three elements are found, but if I use $("#selector").find("input[type=radio]") or even find("input") only the first one is found. Is this a bug in jQuery? Am I not using find() properly? Clarification : I want to use find() to get all the inputs, but anything I try finds only