• Resolved cmdalhog

    (@cmdalhog)


    Hello everybody.

    i just want to know how to have a <a href="#"> wihtout refreshing the page.

    Thank You.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Where do you want the URL to go?

    An anchor URL (like #) has to go somewhere, but it should refresh the page.

    Thread Starter cmdalhog

    (@cmdalhog)

    nothing. i incorporated the link to a jss toggle effect so that when you hover the word, it appears to be clickable, and when you click it, it triggers the toggle effect..

    i already found the solution. it looks like this:

    <html>
    <script>
    function func(){
    }
    </script>
    <body>
    <a href="" onclick="func(); return false;">asdf</a>
    </body>
    </html>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘link without refresh.’ is closed to new replies.