On 8/15/07, Mitch <[EMAIL PROTECTED]> wrote:

Does anyone have a way to select

"all divs except one with a specific ID?"

On Aug 15, 2007, at 3:52 PM, Mike Alsup wrote:

You need to add the '#' for id selection.

$("div :not('#myID')");

And you need to close the space between "div" and ":not"

$("div:not('#myID')");

--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Aug 15, 2007, at 3:52 PM, Mike Alsup wrote:


You need to add the '#' for id selection.

$("div :not('#myID')");

Mike


On 8/15/07, Mitch <[EMAIL PROTECTED]> wrote:

Does anyone have a way to select

"all divs except one with a specific ID?"

I want something like

$(* :not("myID")).click

or

$(div :not("myID")).click

I have tried :not but have not been able to get it to work on IDs,
seems that it just works on elements.

thanks

Mitch



Reply via email to