ok heres what i have... it works fine but it looks for a word rather than content. i just want it to show when there is any content..
$(document).ready(func
For the updated question: Check the trimmed text of the inner Previous answer: If you want to show if it has anything, then checking :not() against :empty works: If you want to check for any elements (not possibly whitespace only), then use :has(*), like this: if ($.trim($("#box3 div").html())) {
$('#third').show();
}
if ($("#box3:not(:empty)").length) {
$('#third').show();
}
if ($("#box3:has(*)").length) {
$('#third').show();
}