[jQuery] Re: Ajax Replacing HTML Using JSON

2008-04-24 Thread Diego A.
Glad to know you solved it. On Apr 23, 4:59 pm, "s.ross" <[EMAIL PROTECTED]> wrote: > On Apr 23, 2008, at 1:27 AM, Diego A. wrote: > > > > > Is the new link by any chance being inserted within the trigger > > itself? (doesn't seem like it would work because the code takes the > > href attribute f

[jQuery] Re: Ajax Replacing HTML Using JSON

2008-04-23 Thread s.ross
On Apr 23, 2008, at 1:27 AM, Diego A. wrote: > > Is the new link by any chance being inserted within the trigger > itself? (doesn't seem like it would work because the code takes the > href attribute from the trigger itself, not the link within it, but it > could cause something weird to happen).

[jQuery] Re: Ajax Replacing HTML Using JSON

2008-04-23 Thread s.ross
On Apr 22, 2008, at 2:36 PM, tlphipps wrote: > > I'm just guessing here, but I would think it would be related to your > xhr.setRequestHeader line. I don't really understand why you need > that anyway in this case. What happens if you completely remove the > beforeSend: parameter from your $.aj

[jQuery] Re: Ajax Replacing HTML Using JSON

2008-04-23 Thread Diego A.
Is the new link by any chance being inserted within the trigger itself? (doesn't seem like it would work because the code takes the href attribute from the trigger itself, not the link within it, but it could cause something weird to happen). Other than that, are use using event delegation or liv

[jQuery] Re: Ajax Replacing HTML Using JSON

2008-04-22 Thread tlphipps
I'm just guessing here, but I would think it would be related to your xhr.setRequestHeader line. I don't really understand why you need that anyway in this case. What happens if you completely remove the beforeSend: parameter from your $.ajax? On Apr 22, 3:51 pm, "s.ross" <[EMAIL PROTECTED]> wr