• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

sub-menu are not getting populated in ie 10

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic