I am trying to understand how the filter works and wrote a small html code as follows
<div id='btnContainer'>
<input type="button" id='btnContinue' value='Continue'>
</input>
<input type="button" id='btnCancel' value='Cancel'>
</input>
</div>
alert($('#btnContainer').filter('#btnContinue').length);
This results in a alert msg of 0 instead of the 1 I expect - jquery 1.44
Pointers please