I've been using Alert for all my error messages so far. I just wanted to know if JS has other functions similar to Alert() that maybe have YES/NO buttons.

Also is there a way to customize the title of the message or format the text? like use bold italics and so on.