If I have a div such as:
<div id="div1" class="div1"></div>
I can access it in JavaScript by both the ID and the class such as:
$('#div1')
or $('.div1) and then manipulate it. Which is a best practices way of dealing with Divs?
Go to the complete details ...