$("div:not(#"+pid+") form span").css("background-color","yellow");

On Jun 9, 8:19 am, squalli2008 <m...@paskell.co.uk> wrote:
> Hi,
>
> Im trying to select all spans in divs containing forms that dont have
> a certain id....
>
> $("div:not([id='#'+pid]) form span").css("background-color",
> "yellow");
>
> This selects all spans regardless of the ID...... Any suggestions
> would be great!
>
> Thanks in advance...

Reply via email to