Re: [OT] Disable/enable field

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 49592
interpreted = N
texte = On 16.4.2003 16:18 Uhr, Dan Strong wrote:> Nitai, try this: > > ============================ > > >
> onClick=disableit=!disableit;thetext.disabled=disableit;if(disableit){newcolo > r='#cccccc'}else{newcolor='#ffffff'};if(document.all){document.forms['theform' > ].elements['thetext'].style.backgroundColor=newcolor}> >
> >
> ============================Thank you. But what about if I need to enable/disable more then just one select field and also another checkbox?I have tried putting more fieldnames in there, but it doesn't work.Sincerely, Nitai Aventaggiato CEO-- Tools to energize your business Content Management & eBusiness SystemsComputerOil GmbH http://computeroil.com/ Unionstrasse 4 info@computeroil.com 8032 Zürich/Switzerland Tel: +41 (0)43 333 1 555 ------------------------------------------------------------- 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] Disable/enable field (Nitai @ ComputerOil 2003)
  2. Re: [OT] Disable/enable field (Christer Olsson 2003)
  3. Re: [OT] Disable/enable field (Nitai @ ComputerOil 2003)
  4. Re: [OT] Disable/enable field (Nitai @ ComputerOil 2003)
  5. Re: [OT] Disable/enable field (Dan Strong 2003)
  6. Re: [OT] Disable/enable field (Dan Strong 2003)
  7. Re: [OT] Disable/enable field (Christer Olsson 2003)
  8. Re: [OT] Disable/enable field (Nitai @ ComputerOil 2003)
  9. Re: [OT] Disable/enable field (Dan Strong 2003)
  10. Re: [OT] Disable/enable field (Nitai @ ComputerOil 2003)
  11. Re: [OT] Disable/enable field (Dan Strong 2003)
  12. Re: [OT] Disable/enable field (Nitai @ ComputerOil 2003)
  13. Re: [OT] Disable/enable field (Dan Strong 2003)
  14. Re: [OT] Disable/enable field (Nitai @ ComputerOil 2003)
  15. Re: [OT] Disable/enable field (WebCat @ Inkblot Media 2003)
  16. Re: [OT] Disable/enable field (Dan Strong 2003)
  17. [OT] Disable/enable field (Nitai @ ComputerOil 2003)
On 16.4.2003 16:18 Uhr, Dan Strong wrote:> Nitai, try this: > > ============================ > > >
> onClick=disableit=!disableit;thetext.disabled=disableit;if(disableit){newcolo > r='#cccccc'}else{newcolor='#ffffff'};if(document.all){document.forms['theform' > ].elements['thetext'].style.backgroundColor=newcolor}> >
> >
> ============================Thank you. But what about if I need to enable/disable more then just one select field and also another checkbox?I have tried putting more fieldnames in there, but it doesn't work.Sincerely, Nitai Aventaggiato CEO-- Tools to energize your business Content Management & eBusiness SystemsComputerOil GmbH http://computeroil.com/ Unionstrasse 4 info@computeroil.com 8032 Zürich/Switzerland Tel: +41 (0)43 333 1 555 ------------------------------------------------------------- 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/ Nitai @ ComputerOil

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:

WebCat2 Append problem (B14Macacgi) (1997) [WebDNA] Integration with QuickBooks (2011) HELP WITH DATES (1997) $flushcache causes crash (2000) Sort Order on a page search (1997) Multiple Users.db Possible? (1997) Customizing WebDelivery.html (1998) Formula Question (1998) Frames and WebCat (1997) really wierd browser truncating (1997) Multiple fields on 1 input (1997) What is this error message? (2006) Showing unopened cart (1997) ups quickcost [repost] (1999) Cart problem (1999) Thanks ! (1997) WebCatalog Hosting (1996) PIXO (1997) Installation webCatalog (French speakers please help) (1998) AW: AW: Credit card processing - UK (1997)