1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

"javascript: void(0);" problem

Discussion in 'JavaScript' started by zamuel, Jan 9, 2009.

  1. #1
    I have these codes in website:

    <td align="center">
    <a href="javascript: void(0);" id="browse">Browse</a> ¦
    <a href="javascript: void(0);" id="clear">Clear</a> ¦
    <a href="javascript: void(0);" id="upload">Upload</a> ¦
    <a href="javascript: void(0);" onclick="javascript: opener.location.reload(true); window.close();">Close</a>
    </td>

    But when i've clicked the Browse it was giving error. Link doesn't work for me. But my friend has tried it. He says it works. So what is the problem? What can i do fix this problem for me?
     
    zamuel, Jan 9, 2009 IP
  2. cont911

    cont911 Peon

    Messages:
    50
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    cannot see problem, but if can repeat, you can replace 'void' with href="#"
     
    cont911, Jan 9, 2009 IP