Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!