umerata
8/11/2017 - 10:09 AM

Create Element Using Jquery | label-js

Create Element Using Jquery

jQuery('<div/>', {
    id: 'foo',
    href: 'http://google.com',
    title: 'Become a Googler',
    rel: 'external',
    text: 'Go to Google!'
}).appendTo('#mySelector');