is it possible to have
<a href="index.php" > click </a>
that doesn’t change page location on click on link? i know that ‘javascript:void(0);’ should be used if we don’t want the location change on click,but i need to determine the link href to be used in some jquery codes.
You can make the onclick javascript event of your link to
return false. It will do what you want.