Hello,
I have in my site some links that are just used to display informative popups.
For example I have something like :
<a href="#" id="myLink">show more info</a>
And in my .js file I have something like :
$(document).ready(function() { $("#myLink).click(function() { displayPopup(); }); });
But google crawler or other crawler follow the link and tell me that it's a wrong link (it goes to my /usercontrol folder...)
How can I avoid crawler to follow this link ?
Should I put :
<a href="#" id="myLink" onclick="return false">show more info</a>
and keep my jquery as it is ?
Or put return false in Jquery click event ?
Or not use an anchor but a div instead ? is it gonna work in all browser in this case ?
Thanks for all