Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Error : unable to get property 'childnodes' of undefined or null reference

Error : unable to get property 'childnodes' of undefined or null reference

Scheduled Pinned Locked Moved The Lounge
data-structureshelp
17 Posts 11 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D DeathByChocolate

    Sorry, forgot to take my sarcasm pill this morning! ;P

    "State acheived after eating too many chocolate-covered coconut bars - bountiful" Chris C-B

    OriginalGriffO Offline
    OriginalGriffO Offline
    OriginalGriff
    wrote on last edited by
    #5

    LOL! VG!

    Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

    D 1 Reply Last reply
    0
    • OriginalGriffO OriginalGriff

      LOL! VG!

      Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

      D Offline
      D Offline
      DeathByChocolate
      wrote on last edited by
      #6

      OriginalGriff wrote:

      LOL! VG!

      "Lots of Love! Virgin Goat!"? :confused: ... I don't understand street talk! :rolleyes:

      "State acheived after eating too many chocolate-covered coconut bars - bountiful" Chris C-B

      K 1 Reply Last reply
      0
      • U User 10519661

        function GetEqrDataUploadFiles()
        {
        var upload=$("#files").data("KendoUpload");
        // in this line Error is coming " Unable to get property 'childNodes' of undefined or null reference "

        var s = upload.wrapper[0].childNodes[2].childNodes.length;

        var a = new Array();
        for (i = 0; i < s; i++)
        {
        if (document.all) {
        a.push(upload.wrapper[0].childNodes[2].childNodes[i].innerText);
        }
        else {
        a.push(upload.wrapper[0].childNodes[2].childNodes[i].textContent);
        }
        }
        return a;
        }

        R Offline
        R Offline
        Rage
        wrote on last edited by
        #7

        Hello and welcome on CP ! This is the Lounge forum and is only for non-programming topics. Ask your question here[^] and it will be answered quickly.

        ~RaGE();

        I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Entropy isn't what it used to.

        J 1 Reply Last reply
        0
        • R Rage

          Hello and welcome on CP ! This is the Lounge forum and is only for non-programming topics. Ask your question here[^] and it will be answered quickly.

          ~RaGE();

          I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Entropy isn't what it used to.

          J Offline
          J Offline
          Jorgen Andersson
          wrote on last edited by
          #8

          Rage wrote:

          and it will be answered quickly.

          Positive attitude, me likey.

          Wrong is evil and must be defeated. - Jeff Ello[^]

          R 1 Reply Last reply
          0
          • D DeathByChocolate

            OriginalGriff wrote:

            LOL! VG!

            "Lots of Love! Virgin Goat!"? :confused: ... I don't understand street talk! :rolleyes:

            "State acheived after eating too many chocolate-covered coconut bars - bountiful" Chris C-B

            K Offline
            K Offline
            Kenneth Haugland
            wrote on last edited by
            #9

            Yeah, hide the truth with sarcasm :laugh:

            1 Reply Last reply
            0
            • J Jorgen Andersson

              Rage wrote:

              and it will be answered quickly.

              Positive attitude, me likey.

              Wrong is evil and must be defeated. - Jeff Ello[^]

              R Offline
              R Offline
              Rage
              wrote on last edited by
              #10

              :) He must be an index off, or made a copy and paste from an example and did not adapt it correctly to his own structure, so I really think it will not be an issue for Griff or SAK.

              ~RaGE();

              I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Entropy isn't what it used to.

              J 1 Reply Last reply
              0
              • D DeathByChocolate

                Sorry, forgot to take my sarcasm pill this morning! ;P

                "State acheived after eating too many chocolate-covered coconut bars - bountiful" Chris C-B

                J Offline
                J Offline
                Jorgen Andersson
                wrote on last edited by
                #11

                Is it these[^]?

                Wrong is evil and must be defeated. - Jeff Ello[^]

                D 1 Reply Last reply
                0
                • R Rage

                  :) He must be an index off, or made a copy and paste from an example and did not adapt it correctly to his own structure, so I really think it will not be an issue for Griff or SAK.

                  ~RaGE();

                  I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Entropy isn't what it used to.

                  J Offline
                  J Offline
                  Jorgen Andersson
                  wrote on last edited by
                  #12

                  SAK might actually have many issues with it.

                  Wrong is evil and must be defeated. - Jeff Ello[^]

                  1 Reply Last reply
                  0
                  • J Jorgen Andersson

                    Is it these[^]?

                    Wrong is evil and must be defeated. - Jeff Ello[^]

                    D Offline
                    D Offline
                    DeathByChocolate
                    wrote on last edited by
                    #13

                    Mmmmmm ... I think I need a large dose of those 3 30 times a day! :-D

                    "State acheived after eating too many chocolate-covered coconut bars - bountiful" Chris C-B

                    1 Reply Last reply
                    0
                    • U User 10519661

                      function GetEqrDataUploadFiles()
                      {
                      var upload=$("#files").data("KendoUpload");
                      // in this line Error is coming " Unable to get property 'childNodes' of undefined or null reference "

                      var s = upload.wrapper[0].childNodes[2].childNodes.length;

                      var a = new Array();
                      for (i = 0; i < s; i++)
                      {
                      if (document.all) {
                      a.push(upload.wrapper[0].childNodes[2].childNodes[i].innerText);
                      }
                      else {
                      a.push(upload.wrapper[0].childNodes[2].childNodes[i].textContent);
                      }
                      }
                      return a;
                      }

                      B Offline
                      B Offline
                      BobJanova
                      wrote on last edited by
                      #14

                      Why is it not possible to downvote this? Ed: the point being someone has upvoted, it shows a rating of 5 and a green text even though it's clearly in the wrong place. It doesn't really deserve abuse/removal votes but it shouldn't be more prominent (due to the upvote) than neutrally relevant threads.

                      D 1 Reply Last reply
                      0
                      • B BobJanova

                        Why is it not possible to downvote this? Ed: the point being someone has upvoted, it shows a rating of 5 and a green text even though it's clearly in the wrong place. It doesn't really deserve abuse/removal votes but it shouldn't be more prominent (due to the upvote) than neutrally relevant threads.

                        D Offline
                        D Offline
                        Dan Neely
                        wrote on last edited by
                        #15

                        downvoting on the lounge was removed a year or two ago to stop what amounted to flamewar by voting abuse. Instead all we have is the Spam/Abusive flag; which in addition to a much larger rep hit (and a few of them killing an account) doesn't fit for off topic stupidity. :doh:

                        Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                        B 1 Reply Last reply
                        0
                        • U User 10519661

                          function GetEqrDataUploadFiles()
                          {
                          var upload=$("#files").data("KendoUpload");
                          // in this line Error is coming " Unable to get property 'childNodes' of undefined or null reference "

                          var s = upload.wrapper[0].childNodes[2].childNodes.length;

                          var a = new Array();
                          for (i = 0; i < s; i++)
                          {
                          if (document.all) {
                          a.push(upload.wrapper[0].childNodes[2].childNodes[i].innerText);
                          }
                          else {
                          a.push(upload.wrapper[0].childNodes[2].childNodes[i].textContent);
                          }
                          }
                          return a;
                          }

                          C Offline
                          C Offline
                          Clodetta del Mar
                          wrote on last edited by
                          #16

                          QAOTD... :doh:

                          1 Reply Last reply
                          0
                          • D Dan Neely

                            downvoting on the lounge was removed a year or two ago to stop what amounted to flamewar by voting abuse. Instead all we have is the Spam/Abusive flag; which in addition to a much larger rep hit (and a few of them killing an account) doesn't fit for off topic stupidity. :doh:

                            Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                            B Offline
                            B Offline
                            BobJanova
                            wrote on last edited by
                            #17

                            I know, it was a rhetorical question. But it's always been a decision I disagreed with (downvoting abuse was never particularly rife in the Lounge) and I still don't get it.

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups