View Full Version : Adding output of a script to a link

09-27-2005, 12:58 AM
I have a link to a callender and I want that link to be like <A href="http://blahblah.com/blah/callender.html#Month> so it'll default down to the current month's events. I already have a script that gives me the month, but the problem is that the link is inside a frammed page and there seems to be no way that can incorperate where the target is when (in the script) I do "document.write(TEXT.link(URL))" where the URL is what I want the link to be.

Any help?

09-27-2005, 01:52 PM
document.write('<a href="' + URL + '" target="theTarget">' + TEXT + '</a>');