How to check input tag have only tag(<br/>) inside as value using jQuery
<p>Check input tag which have value only as  <code>&lt;br/&gt;</code> tag  inside as value using jQuery</p>

<p>I am using an htmlEditor in my project, sometimes user just press enter key only in textarea field. It will get as <code>&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</code> as value when saving.
I want to avoid this tags when saving.</p>

<p>How to validate this in jquery ?</p>

<p>If any other characters like  <code>&lt;br/&gt;Just &lt;br/&gt; Example &lt;br/&gt;</code> is present then I want to save it with break tag itself.</p>
