3 ms·
To add to the other reasons, It's a right pain in the ass when automating browsers to test your app as you can't click an anchor (it's a security thing). So th
by mattmanser 14y ago
To add to the other reasons, It's a right pain in the ass when automating browsers to test your app as you can't click an anchor (it's a security thing).
So this will cause problems, which MS used to use all the time in their frameworks:
<a href="javascript:CantClickMeWithCode();">thing</a>
MS have even come up with a term for not doing it 'unobtrusive javascript'. It doesn't really seem to be catching on as I've not seen anyone but the ASP.Net team use it.