Reputation: 2241
parentId=$(this).closest('tr').find('td:nth(6)')[0].textContent;
I am trying to get ID from flexigrid column. It works fine in Chrome and Firefox but it throws error in IE- 'closest(...).find(...).0.textContent' is null or not an object.
Is there any substitute for textContent in IE? Or is there a way to make it generic to work in all the browsers?
PS: Am using IE8
Upvotes: 0
Views: 3042