when the user click Price Up the Price Down show, Price Up text hide. vice versa。Code:<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>
ps: why this can't work?Code:$("#orderprice a,#ordername a").eq(1).hide();



Reply With Quote
Bookmarks