Return to Snippet

Revision: 28481
at July 8, 2010 17:30 by omerta83


Initial Code
$('', {  
    text: 'jQuery is awesome!',  
    href: 'http://www.jquery.com',  
    id: 'someAwesomeID',  
    rel: 'external',  
    title: 'This is a title'  
}).appendTo('body');

Initial URL


Initial Description


Initial Title
Passing attributes for an object as the second argument to the jQuery function itself

Initial Tags
javascript, jquery

Initial Language
JavaScript