I have anchor link with both href and onclick events specified. The onclick sets location.href to server URL and href to a other link.
When the link is clicked the href event gets called always but onclick event gets called only once (that is only for one anchor link). If I debug JavaScript it works properly that it calls both href and onclick. What can be the problem?
Try
just to explain: returning false in this case prevents the default action.
Why would you want to do this though?