jquery create element with html code example
Example: jquery create html element
var newDiv = $('<div>My new div</div>'); //create Div Element w/ jquery
$( "#someOtherElement" ).append(newDiv); //append new div somewhere
var newDiv = $('<div>My new div</div>'); //create Div Element w/ jquery
$( "#someOtherElement" ).append(newDiv); //append new div somewhere