It's very easy to break statement into multiple lines.
By using "+" or "\" sign,we can break one statement into multiple lines
write a function in Javascript as below:-
<script type="text/javascript">
function alert_message()
{
//1st example
alert("You can easily find a web hosting company that offers"
+ " the right mix of features and price for your applications"
+ " ASP.NET Web Forms lets you build dynamic websites using"
+ " a familiar drag-and-drop, event-driven model.");
//2nd example
alert("Please Select at-least\
one checkbox to process");
}
</script>
<asp:Button ID="btn_alert" runat="server" Text="Multiple Line" OnClientClick="alert_message();"></asp:Button>