In the javascript-urlget parameter discussion, we can find the type = iphone & color = white & order = 1

Source: Internet
Author: User
1. I click the Apple tab to display the iphone page. on the displayed iphone page, click the color colorwhite label and select the white Apple 3. then I ordered the items by time, and the items will be sorted by release time! Q: How do I find the current index. php? Typeiphon... 1. click the Apple tab to display the iphone page,
2. on the displayed iphone page, click the color = white tag. after filtering, the white Apple is displayed.
3. then I sort the products by time, and the products will be sorted by release time!

Q: How do I find the current index. php? Type = iphone append index. php? Type = iphone & color = white;

Then append order = desc and the result is index. php? Type = iphone & color = white & order = desc

Reply content:

1. click the Apple tab to display the iphone page,
2. on the displayed iphone page, click the color = white tag. after filtering, the white Apple is displayed.
3. then I sort the products by time, and the products will be sorted by release time!

Q: How do I find the current index. php? Type = iphone append index. php? Type = iphone & color = white;

Then append order = desc and the result is index. php? Type = iphone & color = white & order = desc

There is something to say about this ..

In this case, you can send multiple requests and filter them once each time.

URI. js
The above is the js uri Library, which is specially used for URL operations.

In fact, I thought about the operations of the landlord and do not need to append them. you just need to generate a new URL, because when you click an operation, it will definitely record your operation status.
If the owner must append the URL, determine the parameter value in the URL and replace it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.