[FX.php List] [off] JQuery question

Bob Patin bob at patin.com
Sun Aug 3 14:51:03 MDT 2014


I’m trying to do this:

a) load a DIV with a page - this works fine
b) load a DIV inside the loaded page with a variable 

Here’s what I have:

$('.main')
	.html('<div align="center"><img src="images/ajax-loader_large.gif"></div>')
	.fadeOut(100)
	.load(page_id)
	.fadeIn(200);
			
$('.the_fee').html('this probably will not work');   

The text displayed above never loads; is it because the DIV ‘.main’ hasn’t finished loading? Do I need to put a callback in there, and if so, how do I structure it?

Thanks,

Bob

Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
FileMaker 9, 10, 11, 12 & 13 Certified Developer
http://www.longtermsolutions.com
-
iChat: bobpatin at me.com
Twitter: bobpatin
—
FileMaker Consulting 
FileMaker Hosting for all versions of FileMaker
PHP • Full email services • Free DNS hosting • Colocation • Consulting

 


More information about the FX.php_List mailing list