/ Published in: JavaScript
Expand |
Embed | Plain Text
$('<div>',{ id: 'test', text: 'This is the element text', class: 'Paul', click: function(){ alert('Liverpool'); } }).insertAfter('article');
You need to login to post a comment.
paul0078 on 04/15/12
1 person have marked this snippet as a favorite
$('<div>',{ id: 'test', text: 'This is the element text', class: 'Paul', click: function(){ alert('Liverpool'); } }).insertAfter('article');
You need to login to post a comment.