Is there any difference between
1 : Link1
and
2 :
No performance difference.
The first is crap because it will fail completely for users without JS enabled.
The second is still crap, but would be better if the href pointed to a URL for users without JS enabled.
href