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:
Thanks in advance!!
The standard alert box in JavaScript does not provide the option to apply CSS. To style your alert box, you need to create a custom one first. The custom alert box will be created using jQuery and styles will be applied to CSS.
Bullet Messenger enables you to easily switch from a voice-based interface to a text-based interface from the top header of the App.
Just an update on this, you can create a bullet in a JavaScript alert box, you just need to use \u2022
, so your script would be something like this (\n
is a line break):
alert("!!! WARNING !!!\n\nHeader\n\u2022Point1\n\u2022Point2")
This will display (in an alert box):
!!! WARNING !!!
Header
- Point1
- Point2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With