SyntaxFix
Write A Post
Hire A Developer
Questions
I'm doing like that:
$('<div/>',{ text: 'Div text', class: 'className' }).appendTo('#parentDiv');