Load Jquery BlockUI from text link -
not sure if possible, couldn't find answer... want html link launch blockui "loading" box.
<script type="text/javascript" src="jquery.min.js"></script> <script type="text/javascript" src="jquery.blockui.js"></script> <script language=javascript> $(document).ready(function() { $('#pop').click(function() { $.blockui({ message: '<h1>processing query....</h1>', timeout: 100000 }); }); });</script> echo "<tr>"; echo "<td><div id=\"pop\"><a href=report$radio.php?prov=$prov&date1=$date1&starthour=$hour1&endhour=$hour2&date2=$date2&lookup=" . $row[$radio] . ">" . $row[$radio] . "</a></div></td>"; echo "<td>" . $row['count'] . "</td>"; echo "</tr>";
<script language=javascript> $(document).ready(function() { $('a').click(function() { $.blockui({ message: '<h1>processing query....</h1>', timeout: 100000 }); }); });</script>
Comments
Post a Comment