<div id="orderprice">
<a href="http://localhost/job/index.php?main_page=index&cPath=<?php echo $_GET['cPath'];?>&sort=3a">Price Up</a>
<a href="http://localhost/job/index.php?main_page=index&cPath=<?php echo $_GET['cPath'];?>&sort=3d">Price Down</a></div>
<div id="ordername">
<a href="http://localhost/job/index.php?main_page=index&cPath=<?php echo $_GET['cPath'];?>&sort=2a">Name Up </a>
<a href="http://localhost/job/index.php?main_page=index&cPath=<?php echo $_GET['cPath'];?>&sort=2d">Name Down </a></div>
when the user click Price Up the Price Down show, Price Up text hide. vice versa。
ps: why this can’t work?
$("#orderprice a,#ordername a").eq(1).hide();