haku87 Posted February 23, 2008 Share Posted February 23, 2008 I got a main page which contain a main div called main In the main page, I inserted a hyperlink to load test.php into div main However in test.php, it contain pagination. When i clicked on page 2. the whole page reload. How can i solve this problem? Link to comment https://forums.phpfreaks.com/topic/92561-problems-in-jquery/ Share on other sites More sharing options...
php7Q Posted February 23, 2008 Share Posted February 23, 2008 I assume your doing this with AJAX or that jQuery is doing this with AJAX. I would set the pagination up where it would display some where else; instead of in your "main" div. Otherwise you will have to create another AJAX function for the pagination too load the php page back into your div; instead of reloading the page. Even if your pagination is outside your "main" div; your probably going to need to have a AJAX function for your pagination anyway (that's my guess). Link to comment https://forums.phpfreaks.com/topic/92561-problems-in-jquery/#findComment-474323 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.