JSFiddle - React, Tailwind, and code Playground

by Agus Sigit Wisnubroto

HTML

<link rel="stylesheet" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
<script src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
<link rel="stylesheet" href="http://www.jeasyui.com/easyui/themes/icon.css">
<form action="google.com" method="post" onSubmit="return check();">
    <input type="text" />
    <input type="submit" value="submit" />
</form>
<script>
 function check(){
$.messager.confirm('Confirm', 'Are you confirm this?',     function(r){
    if (r){
            return true
        } else {
            return false;    
        }
    });
}
</script>