sweet alert 2 web form text box code example
Example 1: jquery sweet popup
$.sweetModal.prompt('Can I haz cheezeburger?', 'Can I?', 'Nope', function(val) {
$.sweetModal('You typed: ' + val);
});
Example 2: jquery sweet popup
$.sweetModal({
title: 'HTML Content',
content: 'You can place <b>anything</b> <i>you</i> want in here.'
});