This question already has an answer here:
- New line in JavaScript alert box 16 answers
I am using alert function to show a message. But I want to show this message in two lines. The message is "The transaction has been approved. Thank you". The code is:
alert('The transaction has been approved. Thank you');
The result should be:
The transaction has been approved.
Thank you
Aucun commentaire:
Enregistrer un commentaire