What about using the longform $.ajax call rather than $.get? You can
specify an error handler:
$.ajax(
{
url:'blabla.cfm',
success:function(){do_something();},
error:function(){do_something_else();}
}
);
JK
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jeff
Sent: Wednesday, October 24, 2007 8:46 AM
To: jQuery (English)
Subject: [jQuery] Re: .get works in Firefox, but not IE
I'm having the same issue with IE. Works in FF.
On Oct 17, 1:51 pm, cfdvlpr <[EMAIL PROTECTED]> wrote:
> Here's some code I have that works great in Firefox.
> But in IE, it this line does nothing: $
> ('#bottomHalfofThickbox').html(updatedSamples);
>
> function redecorate(){
> $('.removeSample').click(function(){
> var productID = $(this).attr("productID");
>
$.get("/viewSampleDetail/removeSampleFromCart.cfm", { productID:
> productID }, function(updatedSamples){
>
>
$('#bottomHalfofThickbox').html(updatedSamples);
> $('#bottomHalfofThickbox').html('test');
> redecorate();
> });
> });
>
> This line works in IE: $('#bottomHalfofThickbox').html('test');
> I'm guessing that there's an error in removeSampleFromCart.cfm, but IE
> doesn't seem to show me that error like FF and firebug would.
>
> Any ideas on how I could debug this issue further?