Topic: Link to External URL with innerHTML

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:

CODE
td.innerHTML = "<a href=\"http://TESTSERVER123/reportserver?/Data_Analysis/Billed_Charges_Per_Customer&rs:Command=Render&CustomerId=" + 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

_________________

solar installers doncaster
Mermaid Beach Property Managers