Title or callback
callback. The first argument is the value entered
Optional
placeholder: stringPlaceholder for input
Optional
defaultValue: stringJodit.Prompt("Enter your name", "Prompt Dialog", function (name) {
if (name.length < 3) {
Jodit.Alert("The name must be at least 3 letters");
return false;
}
// do something
});
If you like Jodit - try Jodit PRO
Show
Prompt
dialog. Work without Jodit object