HTML Parsing Error: Unable to modify parent container

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kreauchee
    New Member
    • Jan 2010
    • 6

    HTML Parsing Error: Unable to modify parent container

    am at my wits end here (no stranger to JavaScripts but no guru by any stretch of the imagination). I've been struggling with this page for some time now and can't figure out why it just flat out does not work in ie7. It works in ie8, firefox, safari, opera, chrome, and my android phone's default browser.

    A great selection of dyeable Natural Yarns! Now 54 different yarns to choose from!


    I don't even know how to debug it in ie7 since it seems to have no tools to do so nor the ability to actually give you any viable data. The only error message I get is:

    HTML Parsing Error: Unable to modify parent container element before the child element is closed (KB927917) - Line 0, Char 0

    ...but I don't see where that would apply on this page as I've double checked and can't find anywhere this occurs.

    Any advice or (fingers crossed) a solution to this issue would be fantastic. Thank you in advance.

    edit: Sorry about the size of this page. I know it's gigantic and I don't necessarily expect anyone else to find the solution. Even just some tips to debugging ie7 effectively would be great.
  • Kreauchee
    New Member
    • Jan 2010
    • 6

    #2
    I'm setting up a temporary non-js version of that page and saving a test version of the one that breaks ie7 here:

    Comment

    • harrierdh
      New Member
      • Jan 2010
      • 16

      #3
      The problem is here. Fix this.

      /*function yarn(stocknum,v code,name,descr iption,img,stoc kstatus,skeinsi ze,yarnsize,yar dage,fiberconte nt,pr1,pr5,pr20 ) {
      this.stocknum = stocknum;
      this.vcode = vcode;
      this.name = name;
      this.descriptio n = description;
      this.price = new Array(pr1,pr5,p r20);
      this.img = img;
      this.skeinsize = skeinsize;
      this.yarnsize = yarnsize;
      this.yardage = yardage;
      this.fiberconte nt = fibercontent;
      this.printYarn = printYarn;
      this.stockstatu s = stockstatus;
      }
      */

      Comment

      • Kreauchee
        New Member
        • Jan 2010
        • 6

        #4
        Thanks for replying, harrierdh.

        Forgive my ignorance but what am I doing there that is not allowed?

        edit: Did some searching and I'm thinking you are referring to 'name'. It's a reserved word, right? I changed it to

        this.title = title;

        but still ended up getting the error *sigh*
        Last edited by Kreauchee; Mar 18 '10, 11:50 PM. Reason: update

        Comment

        Working...