KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Given the following table: <table id="incidents"> <thead> <tr> <th></th> </tr> </thead> <tbody> </tbody> </table> Using jQuery the following evaluate as false : $("#incidents tbody").is(":empty") I would like to use CSS to set the content to be a message: #incidents tbody:empty { content: "<tr>message foo</tr>"; } Can the :empty selector be applied to tbody?
Tags (comma-separated)
Save Edits
Cancel