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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -