• Post Reply Bookmark Topic Watch Topic
  • New Topic

sub-menu are not getting populated in ie 10  RSS feed

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well IE10 changed filter support and moved to SVG. Guessing that is your problem.
 
gauravtyagi tyagi
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Eric Pascarello wrote:Well IE10 changed filter support and moved to SVG. Guessing that is your problem.



So how do i resolve this ? any help would be much apprecaited.

Thanks:
Gaurav
 
gauravtyagi tyagi
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tried to further de-bug it but i am still not getting anywhere with this.
I am sure there must be others like who faced/are facing this issue.

Can anyone come forward please?

Thanks:
Gaurav
 
The only cure for that is hours of television radiation. And this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!