Thanks guys I'll try that out. Appreciate the help!

Mark

On Sep 8, 5:52 pm, MorningZ <[EMAIL PROTECTED]> wrote:
> 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