Hitster4 Posted September 22, 2010 Share Posted September 22, 2010 I have a php page that is maid up of three pieces. header.php main.php footer.php I can't figure out how to refresh the header.php and footer.php without refreshing the main.php. Anyone have an example of how I can do this. Thanks hits Quote Link to comment Share on other sites More sharing options...
btherl Posted September 22, 2010 Share Posted September 22, 2010 Are they in frames? You would do that with javascript, though I'm not sure on the details. Quote Link to comment Share on other sites More sharing options...
rwwd Posted September 22, 2010 Share Posted September 22, 2010 Sounds like an ajax job to me, google to see what I mean, it's such a powerful tool especially used in conjunction with jQuery... Rw Quote Link to comment Share on other sites More sharing options...
Hitster4 Posted September 22, 2010 Author Share Posted September 22, 2010 I don't use iframes and have tried a few different things trying to refresh using a div but no luck so far.. thanks Hits Quote Link to comment Share on other sites More sharing options...
btherl Posted September 22, 2010 Share Posted September 22, 2010 If you don't use frames or iframes (they are different btw), what do you use? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.