jQuery: The Write Less, Do More JavaScript Library

Re: 2 different ways of doing the same thing?

by ricardobeat :: Rate this Message:

Reply to Author | View in Thread


Just like $('div span') == $('div').find('span') and $('div > span')
== $('div').children('span') and so on. Options == good :)

On Jul 2, 1:11 pm, expresso <dschin...@...> wrote:
> Would this not be 2 different ways to do the same thing?
>
> $('input:not(:checkbox));
>
> vs.
>
> $('input').not(:checkbox);

 « Return to Thread: 2 different ways of doing the same thing?