Thanks again, tried this out and everything worked great. Amazing what happens when you do things the right way. :)
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