It is possible, to set the value of 'link' parameter from a javascript function? Ex: <script> function fct(){ window.location = "http:// ....." } </script> ...... <title> Title </title> <description> Description </description> <link onclick='fct()'> </link>
I'm guessing you mean a hyperlink (<a>) and not the link tag (<link>). As link tags should never even be visible, let alone clickable. You can change any attribute of a tag using setAttribute() - lookup unobtrusive javascript.