How can by jquery know that if between a element is empty append between same element word “there is not”?
<div>Ok</div>
<div>No</div>
<div></div> // i want append between this div "there is not" that is empty. Like: <div>there is not</div>
<div>Hello</div>
Try –
Demo – http://jsfiddle.net/St8sV/