[FX.php List] [OFF] Bootstrap question

Steve Winter steve at bluecrocodile.co.nz
Thu Dec 31 13:27:33 MST 2015


Hi Bob

Add the callback to the load:

.load('date.php', function(){
      // your binding code goes here
});

Best I can do from the couch at 2130 on NYE ;-)

Cheers
Steve

Steve Winter
steve at bluecrocodile.co.nz
+44 777 852 4776

> On 31 Dec 2015, at 20:44, Bob Patin <bob at patin.com> wrote:
> 
> Hey Steve,
> 
> That’s what I was thinking it was… question: if I have a load() call, how do I make it so that the next calls don’t happen until the load() finishes?
> 
> Can you show me a fast example of that? That’s exactly what I was thinking, but didn’t know how to write it…
> 
> Thanks,
> 
> B
> 
> 
>> On Dec 31, 2015, at 1:41 PM, Steve Winter <steve at bluecrocodile.co.nz> wrote:
>> 
>> When does the cancel button end up in the DOM...? Is it as the result of the first load of date.php...?
>> 
>> If so, try binding to the cancel as a callback on that load - chances are that at the point at which the bind is being called the second Ajax request hasn't completed so it fails to bind correctly.
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20151231/2118ab86/attachment.html


More information about the FX.php_List mailing list