appcelerator - emailDialog carriage returns -
how can add line feeds messagebody of emaildialog? i've tried "\n" , "<br />
", sethtml(true), nothing seems work, still emaildialog text running together.
example:
var strbody=""; (i=0, len=tabledata.length; i< len; i++) { strbody+=tabledata[i].children[0].children[1].text + "<br />"; } var emaildialog = ti.ui.createemaildialog(); emaildialog.subject = "test"; emaildialog.sethtml(true); emaildialog.messagebody = strbody; emaildialog.open
Comments
Post a Comment