I have created an array:
var endFlowArray = new Array;
for (var endIndex in flowEnd) { // <- this is just some numbers
for (var i in dateflow) { // <- same thing
var check = $.inArray(flowEnd[endIndex], dateflow[i]);
if (check >= 0) {
endFlowArray.push(i);
flowEnd[endIndex] = null;
}
}
}
How can I convert a string array of:
["286", "712", "1058"]
to integer array like:
[286, 712, 1058]
.push(+i)or.push(parseInt(i)). Simply converting a string to an integer.my endFlowArray came up with something like thisYou need to explain this statement. How did it "come up"? Are you using a javascript debugger? alert? Something else?dateflowan array of strings or numbers?