Skip to content
loading...
Discussion
markdown guide
 

You can do it with pure JavaScript too, a lot of the older jQuery syntax has made it into mainstream JavaScript now 🙂

document.querySelector('div.class').setAttribute('id', 'yourIdName');
Classic DEV Post from Jul 30 '19

PublishTo.Dev: Scheduling article publishing on dev.to

AjayMalhotra profile image
Experienced Full Stack Developer, blogger and youtuber. Blog: https://therichpost.com Youtube: https://www.youtube.com/channel/UCj_2lsnsKLuaA1dEh2os8xg