Hello
When concatenating a couple of strings, i need to get them in 2 lines/rows on the form, like below,
my_ID + " " + my_date + " " + my_time + my_COMMENT
i need it to display like below
ABC 08-26-2011 09:08
This is my COMMENT that My COMMENT should come in next line, pls. let me know how to concatenate the above strings, pls. let me know Java Script
Actually, i kept it like below, but not working corerctly,
my_ID + " " + my_date + " " + my_time + " " +my_COMMENT
Thank you
Solved! Go to Solution.
Views
Replies
Total Likes
the \n is a newline in javascript so your code shoudl be like this:
app.alert("This is line 1" + "\n This is line 2")
Paul
Views
Replies
Total Likes
the \n is a newline in javascript so your code shoudl be like this:
app.alert("This is line 1" + "\n This is line 2")
Paul
Views
Replies
Total Likes
Sorry, i forgot to mention that, am using variables, as below,
myFullString = my1stVariable.concat(my1stVariable + " " + my2ndVariable )
in this case, pls. let me know How to get my2ndVariable in next line, i mean, how to use/isert \n ?
THank you
Views
Replies
Total Likes
myfullString = my1stVar + "\n" + my2ndvar
Paul
Views
Replies
Total Likes