Error : unable to get property 'childnodes' of undefined or null reference
-
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;
} -
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;
}That's nice, I hope you and your error are happy. In other news, there's QA where people will actually help...
-
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;
} -
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;
}Sorry, forgot to take my sarcasm pill this morning! ;P
"State acheived after eating too many chocolate-covered coconut bars - bountiful" Chris C-B
-
Sorry, forgot to take my sarcasm pill this morning! ;P
"State acheived after eating too many chocolate-covered coconut bars - bountiful" Chris C-B
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 – ∞)
-
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 – ∞)
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
-
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;
} -
Rage wrote:
and it will be answered quickly.
Positive attitude, me likey.
Wrong is evil and must be defeated. - Jeff Ello[^]
-
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
Yeah, hide the truth with sarcasm :laugh:
-
Sorry, forgot to take my sarcasm pill this morning! ;P
"State acheived after eating too many chocolate-covered coconut bars - bountiful" Chris C-B
Wrong is evil and must be defeated. - Jeff Ello[^]
-
Rage wrote:
and it will be answered quickly.
Positive attitude, me likey.
Wrong is evil and must be defeated. - Jeff Ello[^]
:) 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.
-
:) 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.
SAK might actually have many issues with it.
Wrong is evil and must be defeated. - Jeff Ello[^]
-
Wrong is evil and must be defeated. - Jeff Ello[^]
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
-
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;
}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.
-
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.
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
-
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;
}QAOTD... :doh:
-
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