posted 10 years ago
hi,
i have a js file which has a line :
var subm = parent.frames[mMenu.crossSubF].document.getElementById(id);
next snippet is :
if (flEn)
{
var fl = subm.filters[0];
if (b_VER>=5.5) fl.enabled = 1;
if (fl.Status!=0) fl.stop();
}
the above code works fine in ie 8 but fails in ie 10
i debugged a little and found out :
1) subm is type DispHTMLTable in ie 8 but in ie 10 it is [ object,HTMLCollection].
2) in ie 10 it says Unable to get property '0' of undefined or null reference and this coming beacuse subm in ie 10 does not have any method named filters .
can someone help me in this regard, i want this to run in ie 10 ,,,,
following sol i have already tried using getElementByName, using [].slice.call(subm) , using innerhtml....
Thanks in advance ....
regards:
seeker