Add Attr Test

by Thet Hlaing

HTML

<script src="https://code.jquery.com/jquery-2.2.0.min.js"></script>
<section class="test">Test</section>

CSS

.test2{width:100px; height:100px; background-color:#c0c0c0;}

JavaScript

$(document).ready(function(){
	$('<div></div>').attr('id','ID-NAME').addClass('test3').addClass('test2').prependTo($('.test'));
});