Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Taking the cells value of tr element

$
0
0

Hi All,

I am trying to get the cells value of the first tr present in the html. I am using the following code elem[0] contains that html file. 

When I am debugging through the browser console, tHead element contains tr element. When I am trying to get the length of that it is returning zero. And also when I am accessing scope.table.tHead.rows[0].cells these for getting the cell value present in tr,

i am getting the below error message. This is happening only in IE 11 Edge.Can you please help what is the issue?

message":"Unable to get property 'cells' of undefined or null reference

scope.table = elem[0];

 var headers = scope.table.tHead.rows[0].cells;

Browser: IE 11 Edge

Version: 11.0.9600.18230

Update Versions: 11.0.29


Viewing all articles
Browse latest Browse all 3527

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>