Building on what Dave posts:

$(document).ready(function(){
        var url = '/scripts/orders.php';
        var returnUrl = '/admin/dashboard';
         function finish( message ) {
                $("#status").html(message);
                $("#status").effect("highlight", {color: "green"},
1000);
                document.location.href = returnUrl;
        }
        $("#approved").click(function(){
                $.get(
                      url,
                     { action: "approved", orderId: $
("#orderId").val() },
                     function(x) {
                          finish('approved');
                     }
                 );
        });
 });


although i am confused like above what ".effect" is about

Reply via email to