I can't think of any reason for the <a href="#"> or <a href="javascript:blah blah blah"> syntax
phranque
1:04 am on Apr 15, 2011 (gmt 0)
progressive enhancement: it should work properly without javascript enabled. then figure out how to make cool stuff happen with event handlers. then make sure it is still usable without javascript.
ergophobe
10:08 pm on Apr 18, 2011 (gmt 0)
what phranque said - which is basically the theory behind the code I posted previously.
I was just forced to order 12 products from a site where every single link was javascript driven. Couldn't open in a new tab (thus no side-by-side comparison). Terrible. I would have abandoned if anywhere else had this stuff.