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( me
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 retu
Oh .effect is part of the Jquery ui library. I wanted a field to
briefly flash letting the user know something has changed, but then
the client wanted the page to redirect, so I can probably take out the
effect.
On Sep 8, 5:52 pm, MorningZ <[EMAIL PROTECTED]> wrote:
> Building on what Dave posts:
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
> $("#approved").click(function(){
> $.get(url, { action: "approved", orderId: $("#orderId").val()
> },
> finish( 'approved' ) );
> });
Mark, the second arg to $.get should be a function that is executed on
completion. You're *callling* a function with the argumen
5 matches
Mail list logo