I want to display my JavaScript variable inside div col. I just can't get it displayed. Even with inspector it doesn't have a value. However, if I display it outside of every div, so in the beginning of the page it works..
$(document).ready(function() {
var firma = "test d.o.o.";
document.getElementById("insert").innerHTML = firma;
});
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<div>
<p><span style="z-index: 9999 !important;" id="insert"></span></p>
</div>
Here is code: http://jsfiddle.net/th5wydn1/10/
Thank you for your help. Greetings