Re: javascript problem copying values

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31765
interpreted = N
texte = JS form values go like this:document.formName.elementName.value = value;so yours would go:document.billform.ShipToName.value = shiptoname;Hope this helps,John-----Original Message----- From: elive talklists To: WebCatalog Talk Date: Thursday, May 11, 2000 1:20 PM Subject: javascript problem copying values I have a site the shipping is calculated based on shiptocountryif it is not selected, i revert to country.I have a piece of java script that sets the shiptocountry=country but i am getting an error. can anyone help? Here is an example just trying to copy the shiptonameto name on page:
(Check to use Billing Information: )
Error I get : JavaScript Error: http://sitex.com/Invoice.elive, line 16:form.ShiptoName has no properties. JavaScript Error: http://sitex.com/Invoice.elive, line 25:form.ShiptoName has no properties. JavaScript Error: http://sitex.com/Invoice.elive, line 16:form.ShiptoName has no properties. -- Seanie Ryan elive Internet Solutions www.elive.ie 353 61 305038 LoCall 1890 elive1 Hosting from £149 p.a. Free Internet Access http://elivefree.net------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. javascript problem copying values (elive talklists 2000)
  2. Re: javascript problem copying values (John Palmerlee 2000)
JS form values go like this:document.formName.elementName.value = value;so yours would go:document.billform.ShipToName.value = shiptoname;Hope this helps,John-----Original Message----- From: elive talklists To: WebCatalog Talk Date: Thursday, May 11, 2000 1:20 PM Subject: javascript problem copying values I have a site the shipping is calculated based on shiptocountryif it is not selected, i revert to country.I have a piece of java script that sets the shiptocountry=country but i am getting an error. can anyone help? Here is an example just trying to copy the shiptonameto name on page:
[cart]][header20][/orderfile]>(Check to use Billing Information: )
Error I get : JavaScript Error: http://sitex.com/Invoice.elive, line 16:form.ShiptoName has no properties. JavaScript Error: http://sitex.com/Invoice.elive, line 25:form.ShiptoName has no properties. JavaScript Error: http://sitex.com/Invoice.elive, line 16:form.ShiptoName has no properties. -- Seanie Ryan elive Internet Solutions www.elive.ie 353 61 305038 LoCall 1890 elive1 Hosting from £149 p.a. Free Internet Access http://elivefree.net------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ John Palmerlee

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Caching [include] files ... (1997) [WebDNA] How to build a Ubuntu 18.04 server on DigitalOcean (2019) newbies to web, spaces in email address (1998) HTTP Header info (1997) Using ticks (2000) Message Board (2001) [append] and SSL (1997) test (2001) OLD PROBLEM (1997) WebCat2 - [format thousands] (1997) EMailCompleted folder - How to process tags (2000) ics2api.dll Error Message (2000) Cart date/time (2006) check out page (SSL) not loading on Netscape 4.0+ - fixed? (1999) OT: Making demo movies (2002) Sku numbers (1997) Discount solution? (1998) NT considerations (1997) PIXO support (1997) acrobat -> wc (1998)