I'm having trouble getting a new div before another or just adding a div, but with JavaScript.
Example:
I already have a DIV
<div class="primeira"></div>
I want to add one above it with Javascript, thus:
<div class="div-adicionada"></div>
<div class="primeira"></div>