Re: [OT] - Javascript: Adding fields dynamically

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50442
interpreted = N
texte = THANKS, MAN! YOU ROCK! You just saved me hours.... I owe you one.-Dan ------------------------------------------------------------ http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 ------------------------------------------------------------On Sun, 18 May 2003 14:54:58 WebCat @ Inkblot Media wrote: >Here you go: > > > >
>

 

> >

number 1 =onKeyDown=doit();onKeyUp=doit();>

> >

number 2 > =onKeyDown=doit();onKeyUp=doit();>

> >

onclick=doit()>onclick=clearit()>

> >

Number 1 + 2 = MAXLENGTH=6> >

> > > > >----- Original Message ----- >From: Dan Strong >To: WebDNA Talk >Sent: Sunday, May 18, 2003 1:23 PM >Subject: [OT] - Javascript: Adding fields dynamically > > >> Howdy, >> >> Having trouble finding a solution to add the numbers in a form >*on-the-fly* (not when hitting >> submit) ... >> [marginbally relates to WebDNA as I will ultimately be processing the form >via WebDNA] >> >> i.e. >> -------------------- >>
>> >> >> >> >> (field_03)} > >>
>> -------------------- >> >> I want the textbox total to constantly calculate and display the total >of the 3 fields, even if >> it's zero. >> Perhaps, onBlur ()doTheCalculate or something on each of the 3 input >fields taht would basically >> call a pre-loaded script (doTheCalculate) whenever user clicks *away* from >one of the 3 fields? >> >> Any URL's would be appreciated, as I have been looking for an hour online, >and not found exactly >> what I'm looking for. >> >> Thanks in advance, >> >> -Dan >> ------------------------------------------------------------ >> http://www.StrongGraphicDesign.com >> (208) 319-0137 | Toll-free p/f 877-561-1656 >> ------------------------------------------------------------ >> >> ------------------------------------------------------------- >> 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://webdna.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://webdna.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [OT] - Javascript: Adding fields dynamically (Dan Strong 2003)
  2. Re: [OT] - Javascript: Adding fields dynamically (Dan Strong 2003)
  3. Re: [OT] - Javascript: Adding fields dynamically (WebCat @ Inkblot Media 2003)
  4. [OT] - Javascript: Adding fields dynamically (Dan Strong 2003)
THANKS, MAN! YOU ROCK! You just saved me hours.... I owe you one.-Dan ------------------------------------------------------------ http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 ------------------------------------------------------------On Sun, 18 May 2003 14:54:58 WebCat @ Inkblot Media wrote: >Here you go: > > > >
>

 

> >

number 1 =onKeyDown=doit();onKeyUp=doit();>

> >

number 2 > =onKeyDown=doit();onKeyUp=doit();>

> >

onclick=doit()>onclick=clearit()>

> >

Number 1 + 2 = MAXLENGTH=6> >

> > > > >----- Original Message ----- >From: Dan Strong >To: WebDNA Talk >Sent: Sunday, May 18, 2003 1:23 PM >Subject: [OT] - Javascript: Adding fields dynamically > > >> Howdy, >> >> Having trouble finding a solution to add the numbers in a form >*on-the-fly* (not when hitting >> submit) ... >> [marginbally relates to WebDNA as I will ultimately be processing the form >via WebDNA] >> >> i.e. >> -------------------- >>
>> >> >> >> >> (field_03)} > >>
>> -------------------- >> >> I want the textbox total to constantly calculate and display the total >of the 3 fields, even if >> it's zero. >> Perhaps, onBlur ()doTheCalculate or something on each of the 3 input >fields taht would basically >> call a pre-loaded script (doTheCalculate) whenever user clicks *away* from >one of the 3 fields? >> >> Any URL's would be appreciated, as I have been looking for an hour online, >and not found exactly >> what I'm looking for. >> >> Thanks in advance, >> >> -Dan >> ------------------------------------------------------------ >> http://www.StrongGraphicDesign.com >> (208) 319-0137 | Toll-free p/f 877-561-1656 >> ------------------------------------------------------------ >> >> ------------------------------------------------------------- >> 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://webdna.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://webdna.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://webdna.smithmicro.com/ Dan Strong

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:

I'm tired of all this! (2000) searchable list archive (1997) Summing fields (1997) Initiating NewCart (1997) Mozilla/4. and Browser Info.txt (1997) Search multiple fields (1997) WebDNA-Talk Digest mode broken (1997) X etc.... (1999) possible, WebCat2.0 and checkboxes-restated (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Order file numbers different than the cart number. why? (2000) Generating Report Totals (1997) OT: TinyMCE (2006) WebCatalog Help (2002) month or year in date field in lineitems continued... (1998) Setting up shop (1997) Showif Question (2001) Extended [ConvertChars] (1997) [HTML*] (a proposition) (1997) WebCat2b13MacPlugIn - [include] (1997)