jQuery: The Write Less, Do More JavaScript Library

Re: 2 different ways of doing the same thing?

by Cesar Sanz :: Rate this Message:

Reply to Author | View in Thread


Did you test your two solutions?
Does the same thing?


----- Original Message -----
From: "expresso" <dschinkel@...>
To: "jQuery (English)" <jquery-en@...>
Sent: Thursday, July 02, 2009 10:11 AM
Subject: [jQuery] 2 different ways of doing the same thing?


>
> 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?