JSFiddle - React, Tailwind, and code Playground
by edaloicaro18
HTML
<input type="submit" name="accion" value="Exportar" style="float: right"/>
<br/>
<div id="wait">
<center> <img src="http://s3.subirimagenes.com:81/imagen/previo/thump_5832128ajaxloader.gif"/>
</center>
</div>
JavaScript
$(document).ready(function() {
$("button, input:submit, input:button").button();
$('#wait').hide();
$('#form1').submit(function() {
$('#wait').show();
$("#wait").dialog("open");
$.post('reporteparqueautomotor.htm', function() {
$('#wait').hide();
});
return true;
});
});