> On Mar 22, 2015, at 3:30 PM, humbed...@apache.org wrote: > > - obj.innerHTML = "<b>Yes: </b>" + response.yes + "\n" > + obj.innerHTML = "<i>(" + response.votes + " votes > cast)</i>\n\n" > + obj.innerHTML += "<b>Yes: </b>" + response.yes + > "\n" > obj.innerHTML += "<b>No: </b>" + response.no > <http://response.no/> + "\n" > obj.innerHTML += "<b>Abstain: </b>" + response.abstain > + "\n"
You may want to consider using handlebars, http://handlebarsjs.com/ <http://handlebarsjs.com/>. Up to you. :) Regards, Alan