This topic is locked

How to add custom alert on jQuery

1/15/2011 8:13:42 AM
PHPRunner Tips and Tricks
E
ericholiveira author

Please download the library
http://abeautifulsite.net/blog/2008/12/jquery-alert-dialogs/
Add the code in After Record Added



?>

<script src="include/jquery.js" type="text/javascript"></script>

<script src="base/jquery/js/jquery.ui.draggable.js" type="text/javascript"></script>

<script src="base/jquery/js/jquery.alerts.js" type="text/javascript"></script>

<link href="base/jquery/css/jquery.alerts.css" rel="stylesheet" type="text/css" media="screen" />

<script type="text/javascript">



$(document).ready( function() {

jAlert('This is a custom alert box', 'Alert Dialog');
});

setTimeout("window.location.href='table_list.php?a=return'",1000);

</script>
<?
C
choanhemnhe 3/27/2011

Cool stuff!

thanks