4 ms·
Another approach is href="javascript:;". Not as nice in your status bar but slightly less code and you don't need a big JS lib to implement it. (preventDefault
by jonah 16y ago
Another approach is href="javascript:;". Not as nice in your status bar but slightly less code and you don't need a big JS lib to implement it.
(preventDefault is preferable though.)