How to add a div after all dd tags through jquery ?
$(document).ready(function(){
$('dd').xyz('<div class="clear"></div>'); // what will be this xyz function
});
I have the following HTML structure –
<dl>
<dt>A</dt>
<dd>AA</dd>
<dt>B</dt>
<dd>BB</dd>
</dl>
It should be like –
$('<div class="clear" />').insertAfter('dd');