Dmitry Rudakov wrote: > For example, I have: > <div id="start">...</div><input id="id1"/><input id="id2"/><input > id="idN"/><div>xxxx</div><input id="out"/> > > I need to find all inputs (from 1 to N) and not to find input with id="out" > > if I use $("#start").siblings("input") I will find all inputs including > input with id="out" Dmitry,
As an example, you can use var elements = $('input',$('#start')).not('#out'); I am sure others will have other suggestions. ~ Brice _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/