Q:

jquery create html element

var newDiv = $('<div>My new div</div>');  //create Div Element w/ jquery
$( "#someOtherElement" ).append(newDiv); //append new div somewhere
11
$('<div>hello</div>').appendTo('#parent');
3
$("p").append(" <b>You can write your Text Here </b>.");
2

New to Communities?

Join the community