I have the following statement:
btnApply.Attributes.Add('onclick', 'alert('Must be a member to Use this Tool')');
Is there a way to add a new line. I tried, but it showed the in the text. In addition, can I add a link that would close the alert and take the user to another page?
How can I do this with my example?
When I added the \n, the alert doesn’t show up.
You can’t use HTML, but you can add line breaks:
If a rich modal popup is really what you want though, you can use jQuery’s dialog feature and put whatever you want in there.