0
Using external js file to add the list for Module D and Module E
How can I add Module D and Module E in below HTML file by editing only external js file: <div id="moduleDrop" class="moduleSetup"> <ul> <li>Module A</li> <li>Module B</li> <li>Module C</li> </ul>
2 Antworten
+ 1
You can append in list using jQuery like
$("ul").append('<li>Module D</li>');
+ 1
Thank you 🅰🅹 - Pʀᴏᴅᴜᴄᴛ Mᴀɴᴀɢᴇʀ !