1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

What does href="javascript:" mean?

Discussion in 'JavaScript and AJAX' started by Izaan, May 1, 2009.

  1. Izaan

    Izaan New Member

    Joined:
    Oct 16, 2007
    Messages:
    215
    Likes Received:
    2
    Trophy Points:
    0
    Code:
    <a href="javascript:">image here that has a onclick javascript call</a>
    What does above code do ?
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,276
    Likes Received:
    364
    Trophy Points:
    83
    It would mean the Javascript code after : would be executed by the browser.
     

Share This Page