<script type = "text/javascript">
function DisplayDashboard(Work Package)
{
var Src = '';
if (Work Package=='Google')
{
Src =<a href="https://www.google.com">Link</a>;
}
else if(Work Package=='Bing')
{
Src = <a href ="https://www.bing.com">Link</a>;
}
return <'+Work Package+'>;
}
</script>
What I am trying to do is to look for Google or Bing and then display the correct link in Javascript. But for some reason it is not working.