DEV Community

Discussion on: JavaScript Cheatsheet from beginners to advance..

Collapse
 
mightycoderx profile image
MightyCoderX

Just use getElemenyById('foo') for elements with 'foo' id