<pre name="code" class="javascript"><script src="jquery.vailidate.js"></script>
<script>$(document).ready(function(){$("#mask").css("height",$(document).height);$("#mask").css("width",$(document).width);$("#form1").vailidate({submitHandler:function(form){$(#mask).show(); form.submit();}});});</script>
<form id="form1" method="post" action="">
<input type="submit" name="submit">
</form><pre name="code" class="html"><div id="mask" style="display:none">
<img src="load.jpg">
</div>