EchoFool Posted December 6, 2009 Share Posted December 6, 2009 Hey, I am new to ajax - and i believe my site has a decent structure with divs to allow the use of ajax. My current lay out is: header.php middle body.php footer .php to sum up in html: //header <head> </head> <body> <div> banner image </div> //middle content <div middle content> </div> //footer <div> jquery menu </div> What im trying to do with ajax is only have the "middle" content reload when a person clicks on "href" links. So that the menu does not reload nor does the top banner image.... Can some one show me a basic approach to how this is done - so i can then expand on that myself - once i see an explained example it tends to stick in my head easily. Hope you can help. Link to comment https://forums.phpfreaks.com/topic/184127-new-to-ajax-loading-specific-divs/ Share on other sites More sharing options...
BenInBlack Posted December 11, 2009 Share Posted December 11, 2009 Yes, download JQuery and set it up http://docs.jquery.com/Ajax/jQuery.ajax#options Link to comment https://forums.phpfreaks.com/topic/184127-new-to-ajax-loading-specific-divs/#findComment-975172 Share on other sites More sharing options...
nafetski Posted December 21, 2009 Share Posted December 21, 2009 I second the jQuery notion. Link to comment https://forums.phpfreaks.com/topic/184127-new-to-ajax-loading-specific-divs/#findComment-981220 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.