A very simple HTML in my .erb file:
<a href="javascript:void(0)" id="xyz">Click</a>
But when browsing this code in the browser, I get the link which text is:
Click (javascript:void(0)).
Could you please help me explain why it is? Thanks much for your help.
My development environment: Ruby 1.8.7 Rails 2.3.4