RE: missing part of the variable

by Klaas De Waele <klaas(at)gracegraphics.be>

 Date:  Tue, 5 Jun 2001 09:23:50 +0200
 To:  "'Nate Harel'" <nharel(at)consultant.com>,
"'hwg-techniques(at)hwg.org'" <hwg-techniques(at)hwg.org>
  todo: View Thread, Original

Try this one:

document.write("<INPUT type=&#147;text&#148; 
name=&#147;textfield1&#148;        value='"+YouWrote+"'>");

- Kayjey -


-----Oorspronkelijk bericht-----
Van: owner-hwg-techniques(at)hwg.org
[mailto:owner-hwg-techniques(at)hwg.org]Namens Nate Harel
Verzonden: zaterdag 2 juni 2001 2:07
Aan: hwg-techniques(at)hwg.org
Onderwerp: missing part of the variable


Hi all,

I have a Javascript question.

I need to fill in a form field with a person's name that is picked up from 
another field.

I can get the name and I can output it by using the 
document.write(YouWrote) method, where "YouWrote" is the variable. But if I 
do the following, I only get the first name of any name in the text field.
         document.write("<INPUT type=&#147;text&#148; 
name=&#147;textfield1&#148;        value="+YouWrote+">");

Can anyone explain what I am doing wrong?

Thank you

Nate



		---------------------------------------------------
			 Nate Harel
		        NetTech Services
		        66 Carol Road
		  Needham, MA  02492-1108
		    Tel: 1-781-559-8176
		 Toll Free: 1-877-567-8936
		   FAX: 1-877-567-8936
		 Email: nharel(at)consultant.com
			www.nettsv.com
		----------------------------------------------------
 

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.