Welcome aboard! We are happy you are here and wish you good net-raft!
SORRY THIS IS CORRECTLY 
<script>
$(document).ready(function(){
$("div").before("<b>Before div ...</b>");
});
</script>
</head>
<body>
<div>This is div.</div>
</body> 
<script>
$(document).ready(function(){
$("div").after("<b>Before div ...</b>");
});
</script>
</head>
<body>
<div>This is div.</div>
</body> 
The most helpful JQUERY solutions
plugin get client ip address using jqueryJQUERY Click to see more ... 10.5K 1.8K