Advertisement
This is comment for paste
liveworkshit answers
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I suggest using this code:
- var containerAll = document.querySelectorAll("div.editablediv");
- for(var i=0; i<contenidoaguardar.length;i++){
- containerAll[i].innerHTML = contenidoaguardar[i][0];
- savetextbox(i)
- }
- The correction made in this code is that the < operator is used instead of <= in the for loop condition. This fixes the error, and now the code will process all elements in the contenidoaguardar array.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement