Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

right click reaches to: "javascript:void(0)"

Status
Not open for further replies.

avivit

Technical User
Jul 5, 2000
456
IL
Well, I have this asp page that builds list of links.
I used onclick event in order to send the url variable to a function that opens the link in a new window, etc.
But when trying to right click on that link,
it opens an empty window with the url:"javascript:void(0)".
Hoe can I make right click works properly?
The code:
Response.Write(&quot;<td><A href='javascript:void(0);' onclick=&quot;&quot;winOpen('&quot; & url &&quot;')&quot;&quot;>linkIt</a></td>)&quot;
Any ideas? Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top