OOps;
I was just coming back to clarify
& I noticed you had already answered .
Your quick
In the 2nd example , the script only executes as far as
var copyFromVar = "one";
function saveItAll() {
alert("Hello from function saveItAll()");
console.log("Hello from function saveItAll()");
var blankVar = "";
var fromList = document.getElementsByClassName("copyFrom");
var intoList = document.getElementsByClassName("pasteInto");
console.log("fromList.length = " + fromList.length);
and then nothing more . No more console.log()s .
It just stops .
1st example runs fine .
Thanks
The 1st example is a mini-tutorial on how to do some stuff.