#jQuery :empty : Empty is a selector that selects empty elements with no content. grammar $( ':empty' ) for example $( 'div:empty' ) Select the div element that has no content. example jQuery Selector - :empty Lorem Ipsum Dolor Here is an example of adding an N / A string to a cell that has no table contents.