[jQuery] selector question

[jQuery] selector question


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