[jQuery] Re: value visible in ajax response, but not used in output

2009-11-25 Thread dcrunche
Hi Scott,

thanks, that was what did the trick. I didn't need this without using
the actual vars - then it worked well. But it makes sense I need to
actually return the new result.

D.

On Nov 25, 5:57 pm, Scott Sauyet  wrote:
> On Nov 25, 11:12 am, dcrunche  wrote:
>
> > When I check the response given in the console I see the output I
> > want, but that is not showing on the page.
>
> > Here's the JS I use:http://pastie.org/714683
>
> I don't think you are actually using the resulting data anywhere in
> that code, except in the outermost success function.  For each of the
> (three levels of!) nested .ajax calls, you ignore the returning data
> parameter.
>
> Perhaps you just need to copy this line to each of them:
>
>     $('#productWizard fieldset').html(data);
>
> Cheers,
>
>   -- Scott


[jQuery] Re: value visible in ajax response, but not used in output

2009-11-25 Thread Scott Sauyet
On Nov 25, 11:12 am, dcrunche  wrote:
> When I check the response given in the console I see the output I
> want, but that is not showing on the page.
>
> Here's the JS I use:http://pastie.org/714683

I don't think you are actually using the resulting data anywhere in
that code, except in the outermost success function.  For each of the
(three levels of!) nested .ajax calls, you ignore the returning data
parameter.

Perhaps you just need to copy this line to each of them:

$('#productWizard fieldset').html(data);

Cheers,

  -- Scott