the page url isthere are some contents on the page:Code:`http://example.com/index.php?main_page=index&Path=<?php echo $_GET['Path'];?>`
if i click the price, the content will be arranged according to the price with ascending.Code:<div><a href="http://example.com/index.php?main_page=index&Path=<?php echo $_GET['Path'];?>&sort=1a">price </a></div> <div> the content....</div>
if i click the price, the content will be arranged according to the price with descending.Code:<div><a href="http://example.com/index.php?main_page=index&Path=<?php echo $_GET['Path'];?>&sort=1d">price </a></div> <div> the content....</div>
now, i want to get when the visitor click the `price` text, the content arranged can be exchanged. the default state is ascending. and don't refresh the page.
how should i do?



Reply With Quote

Bookmarks