Doing an alert() on one of my variables gives me this result
[object NodeList]
How can I see all the values in that?
Note; I am on Firefox and dont know how to use chromebug so its not installed.
You can iterate the values in a NodeList
the same way you would an array:
for (var index = 0; index < nodeList.length; index++) {
alert(nodeList[index]);
}
Here is a good resource with some more in-depth information: https://web.archive.org/web/20170119045716/http://reference.sitepoint.com/javascript/NodeList