Answers for "how to append html to list in js"

0

to htmlhow can i add the list in javascript

$(document).ready(function() {
    $("<li>")
    .html('Scooter')
    .appendTo('ul');
});
Posted by: Guest on December-15-2021

Browse Popular Code Answers by Language