How can I hide a div with no ID? I have an application which creates few stickies. Some of them have no ID and some of the do have. How can I hide the ones with no ID?
The position is not always the same.
This is what I get in the HTML where I want to hide the last one.

Is it possible I can hide the one with no ID? Note that the rest which have ID’s, is a number generated randomly.
Thanks alot.
Try this:
The main idea is to use
:not([id])selector with element selector.fiddle: http://jsfiddle.net/57uQ8/