[jQuery] how to remove elements by attribute

[jQuery] how to remove elements by attribute


Hi,
How can I remove all <div foo="whatver"...> div elements using the
attribute foo for my selector? Basically any div with a foo attribute
I want gone.
Thanks, Jason