Mitul Dabhi
answered Nov 30 '-1 00:00
you can disable redirection of the link and jst run the click js event by many ways
1. use void() instead of '/'
<a href='void();' onclick='showModal("login.php")' >
Login
</a>
2.use return false
<a href='function(){return false;}' onclick='showModal("register.php")' >
Login
</a>
3. remove href and jst put onclick event
<a onclick='showModal("register.php")' >
Login
</a>
probably more ways comeup if you try to research
Thanks !!