[thelist] JavaScript: link method

Syed Zeeshan Haider szh at softhome.net
Mon Sep 9 16:04:00 CDT 2002


Hello Experts,
In JavaScript, link method assigns a URL to a string as in following example:

string.link("http://www.yahoo.com/")

When this chunk is executed within document.write(), it returns <a
href=""http://www.yahoo.com/">string</a> in the source code of new page. Is
there any way to assign a target attribute in this anchor tag with the help link
method?

Thank you,
Syed Zeeshan Haider.
http://syedzeeshanhaider.faithweb.com/




More information about the thelist mailing list