Re: [jQuery] Another "Why doesn't this work in IE"

2010-01-04 Thread Nathan Klatt
Then I'd say you ought to try making the load the callback of the post
and see if that works, something along the lines of:

$("#TOAppr").live("click", function() {
$.post("webapps/hr/admin/actions/act_adminHR_handler.cfm", {
desc: $(this).attr('desc'),
pk: $(this).attr('pk')
},
function() {

$("#content-box").load("webapps/hr/admin/display/dsp_timeOffApprove.cfm?dept="+dept+"&ap=1");
});
return false;
});


RE: [jQuery] Another "Why doesn't this work in IE"

2010-01-04 Thread Scott Stewart
It's doing a DB Update on the back side, so it may not be "ready" until
after the update completes..

-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Nathan Klatt
Sent: Monday, January 04, 2010 3:52 PM
To: jquery-en@googlegroups.com
Subject: Re: [jQuery] Another "Why doesn't this work in IE"

Is it okay if the load happens immediately after the data is posted?
Or will it be loading something based on the DB actions having been
successful completed? As it is it's not waiting for the post to
complete before issuing the load.

Nathan



Re: [jQuery] Another "Why doesn't this work in IE"

2010-01-04 Thread Nathan Klatt
Is it okay if the load happens immediately after the data is posted?
Or will it be loading something based on the DB actions having been
successful completed? As it is it's not waiting for the post to
complete before issuing the load.

Nathan