[jQuery] Accessing un-parented text inside a known object

2008-02-06 Thread sparkpool
Hi folks, simple question I think. Given this html: THIS IS THE TEXT I WANT

[jQuery] Re: Accessing un-parented text inside a known object

2008-02-06 Thread sparkpool
Anyone have any thoughts on this? Or am i being too thick to get a reply (:-) ? On Feb 6, 8:05 am, sparkpool <[EMAIL PROTECTED]> wrote: > Hi folks, simple question I think. > > Given this html: > THIS IS THE TEXT I WANT

[jQuery] Reading http headers out of an ajax response

2008-06-04 Thread sparkpool
Hi all, I know that jquery's ajax calls set the X-Requested-With header to 'XMLHttpRequest' for ajax requests, making it really easy for the server side to detect them. Is there any way for jquery to read the http headers out an ajax response back from the server? I can see the ones I'm interest

[jQuery] Re: Cornerz 0.4

2008-06-04 Thread sparkpool
Not a totally great solution, but there are proprietary browser-specific attributes you could try, for Firefox and I think Safari. On Wed, Jun 4, 2008 at 11:17 AM, Andy Matthews <[EMAIL PROTECTED]> wrote: > > I want to clarify my point on this. Of all the corner plugins, I think this > one is the

[jQuery] Re: Reading http headers out of an ajax response

2008-06-04 Thread sparkpool
Sorry to be a pest, but any takers on this? Does anyone know if it's possible at all in javascript? Thanks On Wed, Jun 4, 2008 at 7:21 AM, sparkpool <[EMAIL PROTECTED]> wrote: > > Hi all, > > I know that jquery's ajax calls set the X-Requested-With header to > &#x

[jQuery] Handling errors when ajax returns html

2008-06-05 Thread sparkpool
I have some server-side code that responds to certain ajax requests by returning the html of new rows to insert into an existing table. This works really well, but I've been thinking about ways to handle "errors" on the server side. By "errors" I mean both actual bugs, and business rule violations

[jQuery] Handling errors when ajax returns html

2008-06-05 Thread sparkpool
[Apologies if this shows up twice; didn't see it after 5 hours+, sending again] I have some server-side code that responds to certain ajax requests by returning the html of new rows to insert into an existing table. This works really well, but I've been thinking about ways to handle "errors" on t

[jQuery] Re: Reading http headers out of an ajax response

2008-06-05 Thread sparkpool
a string all current > headers in use. > # AJAX.getResponseHeader("headerLabel") -- returns value of the > requested header. > > Karl Rudd > > On Thu, Jun 5, 2008 at 9:32 AM, sparkpool <[EMAIL PROTECTED]> wrote: >> >> Sorry to be a pest, but any tak

[jQuery] Re: Reading http headers out of an ajax response

2008-06-05 Thread sparkpool
Um, just for the record, I did actually google various things, on more than one occasion.. On Thu, Jun 5, 2008 at 1:28 PM, sparkpool <[EMAIL PROTECTED]> wrote: > Doh, thanks. I was looking for properties, not methods. Foo on me. > > On Wed, Jun 4, 2008 at 7:42 PM, Karl Rudd &l

[jQuery] Handling errors when ajax returns html

2008-06-06 Thread sparkpool
I have some server-side code that responds to certain ajax requests by returning the html of new rows to insert into an existing table. This works really well, but I've been thinking about ways to handle "errors" on the server side. By "errors" I mean both actual bugs, and business rule violations

[jQuery] Ajax cache setting with type='post'

2008-06-09 Thread sparkpool
It looks to me like when you do this: $.ajax('someURL', {cache: false}) ...jQuery adds a random string to the submitted params, to avoid browser caching. This is the behavior I want. But if you do this: $.ajax('someURL', {cache: false, type: 'post'}) ..the random string isn't there. Is this

[jQuery] Re: Ajax cache setting with type='post'

2008-06-09 Thread sparkpool
Or is it not needed at all for post requests? I wondered if maybe they don't get cached? On Mon, Jun 9, 2008 at 9:15 AM, sparkpool <[EMAIL PROTECTED]> wrote: > It looks to me like when you do this: > $.ajax('someURL', {cache: false}) > ...jQuery adds a random stri

[jQuery] Re: replace html on ajax success ie7

2008-06-15 Thread sparkpool
Is the returned html well formed? Does it make sense for it to be inserted into the dom where you're trying to put it? Have you verified that the selector for your target div actually finds it in IE? On Jun 14, 5:22 pm, Fred <[EMAIL PROTECTED]> wrote: > no, just html. > > On Jun 14, 3:03 am, ilro

[jQuery] Re: Firefox 3 help

2008-06-29 Thread sparkpool
Really nice pics (:-) Just FYI, I'm seeing the ff3 behavior you're seeing, but with ff2.0.0.14/win. When I click a new image, it does the "curtain" effect with the same image that's already there, then changes to the new image quickly, I *think* without an effect. Same thing whether I navigate us

[jQuery] Re: Firefox 3 help

2008-06-29 Thread sparkpool
Really nice pics (:-) Just FYI, I'm seeing the ff3 behavior you're seeing, but with ff2.0.0.14/win. When I click a new image, it does the "curtain" effect with the same image that's already there, then changes to the new image quickly, I *think* without an effect. Same thing whether I navigate us