return false javascript w3schools code example
Example: javascript return false
<a href="#" onClick="function_name('parametres'); return false;">Link</a>
<a href="#" onClick="function_name('parametres'); return false;">Link</a>