missing part of the variable

by Nate Harel <nharel(at)consultant.com>

 Date:  Fri, 01 Jun 2001 20:06:40 -0400
 To:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
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