I want to replace the contents within a html element so I\'m using the following function for that:
function ReplaceContentInContainer(id,content) { var c
var elems = document.querySelectorAll('.one'); for (var i = 0; i < elems.length; i++) { elems[i].innerHTML = 'content'; };