create html-element with jquery


<script>

jQuery(function($){

	$('<blockquote></blockquote>', {

		class: 'co',

		text: 'quote'

	}).prependTo( $('div.target') );

});

</script>

Leave a Comment