JavaScript Linking [on hold]

Could not find a good solution on Google - Is there a way to set Internal and external links via JavaScript? Should be a simple Link like a href for html.

If I use this snippet:

<script type="text/javascript" src="//"></script> <a id="link" href="">link text</a> <script type="text/javascript"> $('a#link').click(function(){ /* ... action ... */ }) </script> 

What do I need to put into the function()? Is this a way to set links to external pages so Google won't follow those? Intent is that I am searching for an opportunity to set some links that Google won't be able to follow.


Category: ajax Time: 2016-07-31 Views: 1

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.220 (s). 12 q(s)