Looktrne Posted February 5, 2012 Share Posted February 5, 2012 I just started playing with an ajax script yesterday I have been able to update an html <span> using a php file. every 10 seconds this is all working good but I need the php page to refresh the entire html page if a condition is met. for example if ($condition="met") { // Somehow refresh the entire html page rather than just the span } anyone know how I can achieve this or point me in the right direction? very new to Ajax but got some cool stuff working already Paul Quote Link to comment https://forums.phpfreaks.com/topic/256422-excited-about-ajax-but-stuck-on-something/ Share on other sites More sharing options...
trq Posted February 5, 2012 Share Posted February 5, 2012 One of the main advantages of Ajax is that you don't need to refresh an entire page to change the data on the page. What exactly are you trying to do? Quote Link to comment https://forums.phpfreaks.com/topic/256422-excited-about-ajax-but-stuck-on-something/#findComment-1314602 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.