‘; var spanTag = document.createElement(“span”); spanTag.innerHTML = item.percents + ‘%’; bar.appendChild(spanTag); } var anum = document.createElement(‘p’); document.getElementById(‘pollContainer_sideline33185′).appendChild(anum); anum.className = ‘resultAnswer’; anum.innerHTML = ‘1588 total votes’; } document.getElementById(‘message_sideline33185′).innerHTML = json.message; }
No comments:
Post a Comment