Home Fun Games Blog CDCRIFD CDRD Utilities About Settings

The custom "modal" function

Syntax:
modal(content, title);

It is OK if you do not include the title - if you do not specify one, the default title is "Notice". Try seeing what happens if you do not include the modal content!

Data Sanitization

If you want to put quotes, you may want to sanitize your data input. Example: modal("And then Bob said, \"Hey there!\"");

More Info