1. I click on the Apple tab to display the iphone page,
2. On the iphone page shown, I clicked on the Color Color=white tab, filtered to get the white apple
3. Then I click on the time order, the product will be sorted by the time of publication!
Question How do I append index.php?type=iphone&color=white; to the current Index.php?type=iphone
And then append Order=desc, the result is Index.php?type=iphone&color=white&order=desc
Reply content:
1. I click on the Apple tab to display the iphone page,
2. On the iphone page shown, I clicked on the Color Color=white tab, filtered to get the white apple
3. Then I click on the time order, the product will be sorted by the time of publication!
Question How do I append index.php?type=iphone&color=white; to the current Index.php?type=iphone
And then append Order=desc, the result is Index.php?type=iphone&color=white&order=desc
There is nothing to say about this question.
If you do that, you can send multiple requests, one at a time
Uri.js
The above is the JS URI Library, is specifically used to do the URL operation.
In fact, I thought about the landlord's operation does not need to add it, you regenerate the new URL, because when you click on an action, will certainly record your operation status.
If the landlord must be added, you can first determine the URL of the parameter value, there is a replacement.