larrydavid
Programmer
Hello,
I am trying to link to an external URL and have confirmed that the link is good (I can paste it in the address bar of my browser and it goes fine). But I need to surround the link in hyperlink tags so the user can click on it to go to the URL from my web page. Here is the code:
I have been researching the syntax on this and from what I can gather I am probably not escaping the slashes properly in my link, but I am stumped at this point. Any help would be greatly appreciated.
Thanks,
Larry
I am trying to link to an external URL and have confirmed that the link is good (I can paste it in the address bar of my browser and it goes fine). But I need to surround the link in hyperlink tags so the user can click on it to go to the URL from my web page. Here is the code:
Code:
td.innerHTML = "<a href=\"[URL unfurl="true"]http://TESTSERVER123/reportserver?/Data_Analysis/Billed_Charges_Per_Customer&rs:Command=Render&CustomerId="[/URL] + customer.TIN + "\" target=\"_blank\">" + "</a>";
I have been researching the syntax on this and from what I can gather I am probably not escaping the slashes properly in my link, but I am stumped at this point. Any help would be greatly appreciated.
Thanks,
Larry