Return to Snippet

Revision: 56545
at April 2, 2012 23:07 by epyyjop


Initial Code
$('<h2></h2>', { 
text: 'Hello from js 2', 
class: 'myClass'
}).appendTo('article');

Initial URL
http://tutsplus.com/lesson/creating-and-appending-content/

Initial Description
Create an open and close h2
add the text, class
append to the article

Initial Title
Create insert text

Initial Tags


Initial Language
jQuery