$(function(){ $("td:empty").css("background","yellow"); });
element1
element3
$(function(){ $("#sample2Btn").click(function(){ $("#sample2Div p:empty").html("empty:element"); }); });