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