Is it possible to add Bullet points for the warning/Alert message box for a webpage using HTML and Java Script? If not, what would be the best possbile way to create one of those?
The message box should have the below properties:
- Warning Image
- Message box header
- Bullet points listing summary
- Accept and Reject button
Thanks in advance!!
There may be a way to sneak bullet points into an
alert()box using some Unicode shenanigans, but in general, these boxes can not be styled. Individually labeled buttons are totally out of the question.You would have to use a custom-made library like JQUery UI dialogs. Alternatively, here is a more light-weight tutorial on building custom alert boxes.