The main methods are: jAlert(message, [title, callback]) creates an alert jConfirm(message, [title, callback]) creates a confirmation alert, supports callback jPrompt(message, [value, title, callback]) creates A prompt box allows the user to enter a value and supports callback. If you provide , you can refer to the following sample code: