I want to show below description in an alert in javascript. but it shows Uncaught SyntaxError: Invalid or unexpected token. Here I am using special characters like ',? & and so on. Please help me with it.
This is my description to show in an alert:
This is alert box code :
alert("This's guide you how to work ?.");
Sample code is :
<span id="event-desc-label" class="infolabel">First game of the
playoffs, who's in?<br>
<br>If you still owe money for next session, bring it. I will be
finalizing the roster <br>Restrictions: No Restrictions<br> <a
href="#" onclick="alert("First game of the playoffs, who" s=""
in?\n\nif="" you="" still="" owe="" money="" for="" next="" session,=""
bring="" it.="" i="" will="" be="" finalizing="" the="" roster="" in=""
coming="" days.="" \nrestrictions:="" no="" restrictions\n")'="">...more</a>
</span>