mercredi 15 juin 2016

How to show a message in two lines in the alert() function [duplicate]


This question already has an answer here:

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