[BNM] [bnm] You know that jquery?

Nick Taylor nick at tangerineworks.com
Sat May 24 10:53:24 BST 2008


How do you get all divs that have a style attribute?

Some do, some don't... I want to run a thing that removes all divs with 
a style attribute and leaves the others. Something like

$("div[style]").remove();

or

$("div[@style*=hidden]").remove();

(because the styles all have 'hidden' in them)

I've been messing with this for hours now and tried about a million 
different combinations and permutations etc.



Nick







More information about the BNMlist mailing list. Powered by Wessex Networks