What would be the best way to insert a hyperlink using JS?

User click on a link to open a new window that lists documents in a database
(as a hyperlink).

If a user clicks on one of the documents it will close the open window (the
list) and insert a hyperlink into the window underneath (into a form input
field called "document") with a URL like:

<a href="o_viewdoc.cfm?id=#id#">my hyperlink</a> - ID will depend on which
document they clicked on.

(o_viewdoc.cfm is the document handler)

==
Peter Tilbrook ([EMAIL PROTECTED])
Macromedia ColdFusion Applications Developer
Cubok Pty. Ltd.
Units 7-10
Australian Heritage Village
Watson ACT 2602
AUSTRALIA

http://www.cubok.com

Mobile: 0401 973 415
Tel: +61-2-6262-4080
Fax: +61-2-6262-4081
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to