3 ms·
You can achieve exactly the same effect by setting "window.location.href" on click event, so I don't see how preventing "href" from change will help.
by pkorzeniewski 14y ago
You can achieve exactly the same effect by setting "window.location.href" on click event, so I don't see how preventing "href" from change will help.
- talmand 14y agoI was thinking the same thing. It would seem that to do what he's suggesting you would have to prevent any interaction between the anchor tag and javascript. You can trigger window.location.href on hover for gosh sakes.