witold
05-08-2003, 05:21 PM
hi,
i'm sure my question is rather simple to all JS gurus, but i can't help it. in a "for" loop borrowed from a ready-made script i need to convert:
colum_name.innerText = c;
into a link e.g.
colum_name.innerText = ("<a href='aa.php'>'+c+'</a>");
my efforts are fruitless, of course. either nothing shows up or the whole piece of code gets printed out on the screen.
i know how to do this in PHP and ASP, but JS is my weak point.
can anyone give me a hint?
witold
i'm sure my question is rather simple to all JS gurus, but i can't help it. in a "for" loop borrowed from a ready-made script i need to convert:
colum_name.innerText = c;
into a link e.g.
colum_name.innerText = ("<a href='aa.php'>'+c+'</a>");
my efforts are fruitless, of course. either nothing shows up or the whole piece of code gets printed out on the screen.
i know how to do this in PHP and ASP, but JS is my weak point.
can anyone give me a hint?
witold