JSFiddle - React, Tailwind, and code Playground
HTML
<button id="b1">
alert
</button>
CSS
</style>
<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/color.css">
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.min.js"></script>
<script type="text/javascript" src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
<style>
JavaScript
function alertbox(demessage,desimbol,detitle,dewidth,deheight) {
if (dewidth) {} else {dewidth=350}
if (deheight) {} else {deheight='auto'}
$.messager.alert({ title: detitle ,
msg: demessage,
shadow: false,
modal: false,
icon: desimbol,
width: dewidth,
height: deheight
});
return false;
}
$('#b1').click(function(){
alertbox('message','info','Title');
})