I'm doing some shennanigans with jQuery to put little plus/minus icons next to my expanders. Its similar to the windows file trees, or firebugs code expanders.
It works, but its not specific ...
I have the following string elements that i want to append to the DOM, but in IE the tags do no close.
$("#accordion").append('<div id="mydiv" class="sortme">bla bla bla</div><div id="panel" class="accordionPanel"></div>');
I have a table in my markup on which I want to add some divs before and efter like this:
<div class="widebox-header">Opret/rediger bruger</div>
tags in jQuery
I have a large html file of a story.
The <p> tags are not closed, for example:
<p> First paragraph
<p> Second paragraph
<p> First paragraph</p>
<p> Second ...
Please share me code if you have any.
My parent html :