javascript - Object 'unavailable' in FF console -
have few divs class='class_name'
also have declared
var = document.getelementsbyclassname('class_name'); console.log(a[0]);
chrome console shows:
<div class="class_name"> div 1 </div>
firefox console shows:
<unavailable>
what's issue or otherwise possible cause?
Comments
Post a Comment