TeddyKiller Posted March 29, 2010 Share Posted March 29, 2010 Is this possible? If so, how is it done? I have a JQuery method, and for some reason it doesn't work for some people, so I'd like to try another method. Thanks Link to comment https://forums.phpfreaks.com/topic/196883-loading-pagephp-every-second-into-a-div-called-div_online-without-jquery/ Share on other sites More sharing options...
andrewgauger Posted March 29, 2010 Share Posted March 29, 2010 Why don't you change page.php as: <meta http-equiv="refresh" content="1;url=page.php"> Link to comment https://forums.phpfreaks.com/topic/196883-loading-pagephp-every-second-into-a-div-called-div_online-without-jquery/#findComment-1033649 Share on other sites More sharing options...
TeddyKiller Posted March 29, 2010 Author Share Posted March 29, 2010 It has to refresh 1 single div you see. Link to comment https://forums.phpfreaks.com/topic/196883-loading-pagephp-every-second-into-a-div-called-div_online-without-jquery/#findComment-1033651 Share on other sites More sharing options...
andrewgauger Posted March 29, 2010 Share Posted March 29, 2010 sorry i was thinking of iframe. You can use innerHTML of the div Link to comment https://forums.phpfreaks.com/topic/196883-loading-pagephp-every-second-into-a-div-called-div_online-without-jquery/#findComment-1033771 Share on other sites More sharing options...
Adam Posted March 30, 2010 Share Posted March 30, 2010 You'd be best off finding out why it doesn't work for certain people (i.e. which browser they are using) and patching what you have. While jQuery claims to be cross-browser (including IE6) I have found bugs in IE6, unfortunately though can't think what they were off the top of my head. jQuery should be more than capable of achieving this though.. Link to comment https://forums.phpfreaks.com/topic/196883-loading-pagephp-every-second-into-a-div-called-div_online-without-jquery/#findComment-1034091 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.