I have four records in a file and one of them contains a link like <a href = "http://steelers.com">P ittsburgh Steelers</a> win again.
I am reading the records and storing them in a container called div1 The problem is that I want the Pittsburgh Steelers words above to show up as an actual link when they are added to the div1. Right now the link is showing up just like it is in the file. I am using javascript and innerHTML.
The four records are appended to a variable called dataIN. Then the last statement is document.getEle mentByID('div1' ).innerhtml += dataIN.
I want to store Pittsburgh Steelers win again in the container instead of actual text version
<a href = "http://steelers.com">P ittsburgh Steelers</a> win again
I am reading the records and storing them in a container called div1 The problem is that I want the Pittsburgh Steelers words above to show up as an actual link when they are added to the div1. Right now the link is showing up just like it is in the file. I am using javascript and innerHTML.
The four records are appended to a variable called dataIN. Then the last statement is document.getEle mentByID('div1' ).innerhtml += dataIN.
I want to store Pittsburgh Steelers win again in the container instead of actual text version
<a href = "http://steelers.com">P ittsburgh Steelers</a> win again
Comment