MrHackett / iui

Automatically exported from code.google.com/p/iui
MIT License
0 stars 0 forks source link

onclick="return false" in an anchor does not stop navigation to href #112

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. in music.html replace <a href="#artists"> by <a href="#artists"
onclick="return false">

What is the expected output? What do you see instead?
The link keeps working, when it shouldn't.

What version of the product are you using? On what operating system?
iUI 0.13. Windows vista web server. any browser.

Please provide any additional information below.

Original issue reported on code.google.com by juan.soliveres@gmail.com on 23 Oct 2008 at 9:30

GoogleCodeExporter commented 8 years ago
This is happening for me also.

Original comment by zoemande...@gmail.com on 29 Jun 2009 at 1:37

GoogleCodeExporter commented 8 years ago
I added 

else if (link.onclick)
{
    return;
}

to the click handler

Original comment by comster...@gmail.com on 29 Jul 2010 at 12:57

GoogleCodeExporter commented 8 years ago
Any resolution to this issue?

Original comment by de.ts...@gmail.com on 20 Jul 2012 at 3:47