Sometimes encounter
alert("Content")
Need to display two lines of cases
At this time in the place you want to insert a line break "\n"
For example:
<script>
alert("The first line of \n the second line \n the third line");
</script>
Sometimes encounter
alert("Content")
Need to display two lines of cases
At this time in the place you want to insert a line break "\n"
For example:
<script>
alert("The first line of \n the second line \n the third line");
</script>
Message Board
Feel free to leave suggestions and share! Thanksgiving!