I have a small code for jQuery endorsement.
When a page link is clicked, an AJAX request is set and the The code is very simple: My problem: Suppose, the user is not viewing the page optional one > Use Take a look at this GET method is used to obtain information from the database and then, the result is a new page Are displayed on function getContentItems (select table, page number) {$ ('. SlideImg') Attr ('src', 'ajaxload.gif'); $ Ajax ({type: 'GET', url: 'getDataPages.php', data: "page number =" + page number + "& tableselect =" + select table, data type: "Jason", cache: true , Success: function results) {var phpresultArray = results; // Show recovered results here //) cool jQuery effect;)}}}} 20 , and it clicks on some link on that page, now if it hits the back button on the browser, it will be redirected to the page 1 . How to prevent it, I want the user to return to the same page.
use the hash tag. The user is on one page, then Paganamamam # 1 , if <2>
No comments:
Post a Comment