DevilsThoughts
Newbie
Posts: 1
Registered: 6/3/2004
Member Is Offline
|
| posted on 6/3/2004 at 08:12 PM |
|
|
Inline html in table cell
I am trying to insert an HTML link as data in a table cell. Partial code is this:
var TABLE_CONTENT0 = [
["<a href=/cgi-bin/script.pl?id=1234>1234</a>","1020-DndPhoto_050320040100","05/03/2004 00:40:00
AM","Shipped","$61.15","$9.13","$70.28","66516766627277","05/03/2004 09:15:04
PM","5/3/2004 8:27:30 PM","5/8/2004 12:49:13 PM"]
However, when displayed on the page, it shows up as this:
1234>1234
where both numbers are hyperlinks and the greater than sign (>) is regular text.
I've tried various ways of escaping the characters, but nothing works.
Can someone provide a solution?
|
|
|
knonna
Junior Member
Posts: 2
Registered: 5/28/2004
Member Is Offline
|
| posted on 8/10/2004 at 12:39 PM |
|
|
try add single quotes
"<a href='/cgi-bin/script.pl?id=1234'>1234</a>"
|
|
|
|