Re: [OT] Disable/enable field
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 49621
interpreted = N
texte = http://developer.irt.org/script/70.htm===========function isChecked(object) { if (object.checked) return true; else return false;}alert(document.formName.checkboxName);===========-Dan------------------------------------------------------------http://www.StrongGraphicDesign.com(208) 319-0137 | Toll-free p/f 877-561-1656------------------------------------------------------------On Thu, 17 Apr 2003 14:36:17 Dan Strong
wrote:>You know what, I have a few minutes to kill, I'll see what I can find out...>BTW here's where I always go first: http://www.irt.org and then I search within 'javascript'>http://www.codeave.com isn't bad either, but not nearly as complete and technical>>-Dan>------------------------------------------------------------>http://www.StrongGraphicDesign.com>(208) 319-0137 | Toll-free p/f 877-561-1656>------------------------------------------------------------>>>On Thu, 17 Apr 2003 23:08:21> Nitai @ ComputerOil wrote:>>Well, isnt there a Javascript command or definition that sses if the>>checkbox is checked or unchecked?>>>>Sincerely,>>Nitai Aventaggiato>>CEO>>>>On 17.4.2003 23:04 Uhr, Dan Strong wrote:>>>>>Oh well... I tried :)>>>-Dan>>>>>>On Thu, 17 Apr 2003 22:52:27>>>Nitai @ ComputerOil wrote:>>>>Dan>>>>>>>>Thank you for your time, but this is definitely not what I am looking for:-)>>>>>>>>Sincerely,>>>>Nitai Aventaggiato>>>>CEO>>>>>>>>On 17.4.2003 19:37 Uhr, Dan Strong wrote:>>>>>>>>>Nitai,>>>>>>>>>>Check this out (code below). I know it's not *exactly* what you are looking>>>>>for, but it works and>>>>>*might* prove useful...>>>>>==============================>>>>>>>>>>>>>>>>>>>>==============================>>>>>>>>>>-Dan>>>>>------------------------------------------------------------>>>>>http://www.StrongGraphicDesign.com>>>>>(208) 319-0137 | Toll-free p/f 877-561-1656>>>>>------------------------------------------------------------>>>>>>>>>>>>>>>>>>>>On Thu, 17 Apr 2003 19:33:45>>>>>Nitai @ ComputerOil wrote:>>>>>>On 17.4.2003 19:28 Uhr, Dan Strong >>>>>>wrote:>>>>>>>>>>>>>Perhaps allow the [index] of the loop to give each>>>>>>>{function} (disableit1, disableit2, etc.) and>>>>>>>each select tag ( ,>>>>>>>etc.)>>>>>>>their own corresponding unique values?>>>>>>>>>>>>>>I know, I know, this is apt to get bulky code-wise, but it would probably>>>>>>>work...I'm sure there is>>>>>>>a much more elegant way to do this...I just don't have time at the moment>>>>>>>to>>>>>>>figure it out....>>>>>>>>>>>>Yes, I understand.>>>>>>>>>>>>But what about my code which I posted? Actually it works to enable all the>>>>>>form elements, but when deselecting the checkbox it should also disable the>>>>>>form elements again!>>>>>>>>>>>>Actually, as far as I know, all I need is a way to figure out if the>>>>>>checkbox has been deselected.>>>>>>>>>>>>Something like:>>>>>>>>>>>>>>>>>>>>>>>>TIA.>>>>>>>>>>>>Sincerely,>>>>>>Nitai Aventaggiato>>>>>>CEO>>>>>>>>>>>>>>>>>>-- >>>>>>Tools to energize your business>>>>>>Content Management & eBusiness Systems>>>>>>>>>>>>ComputerOil? 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/>>>>>>>>>>------------------------------------------------------------->>>>>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/>>>>>>>>-- >>>>Tools to energize your business>>>>Content Management & eBusiness Systems>>>>>>>>ComputerOil? 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/>>>>>>------------------------------------------------------------>>>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/>>>>-- >>Tools to energize your business>>Content Management & eBusiness Systems>>>>ComputerOil? 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/>>------------------------------------------------------------->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:
http://developer.irt.org/script/70.htm===========function isChecked(object) { if (object.checked) return true; else return false;}alert(document.formName.checkboxName);===========-Dan------------------------------------------------------------http://www.StrongGraphicDesign.com(208) 319-0137 | Toll-free p/f 877-561-1656------------------------------------------------------------On Thu, 17 Apr 2003 14:36:17 Dan Strong wrote:>You know what, I have a few minutes to kill, I'll see what I can find out...>BTW here's where I always go first: http://www.irt.org and then I search within 'javascript'>http://www.codeave.com isn't bad either, but not nearly as complete and technical>>-Dan>------------------------------------------------------------>http://www.StrongGraphicDesign.com>(208) 319-0137 | Toll-free p/f 877-561-1656>------------------------------------------------------------>>>On Thu, 17 Apr 2003 23:08:21> Nitai @ ComputerOil wrote:>>Well, isnt there a Javascript command or definition that sses if the>>checkbox is checked or unchecked?>>>>Sincerely,>>Nitai Aventaggiato>>CEO>>>>On 17.4.2003 23:04 Uhr, Dan Strong wrote:>>>>>Oh well... I tried :)>>>-Dan>>>>>>On Thu, 17 Apr 2003 22:52:27>>>Nitai @ ComputerOil wrote:>>>>Dan>>>>>>>>Thank you for your time, but this is definitely not what I am looking for:-)>>>>>>>>Sincerely,>>>>Nitai Aventaggiato>>>>CEO>>>>>>>>On 17.4.2003 19:37 Uhr, Dan Strong wrote:>>>>>>>>>Nitai,>>>>>>>>>>Check this out (code below). I know it's not *exactly* what you are looking>>>>>for, but it works and>>>>>*might* prove useful...>>>>>==============================>>>>>>>>>>>>>>>>>>>>==============================>>>>>>>>>>-Dan>>>>>------------------------------------------------------------>>>>>http://www.StrongGraphicDesign.com>>>>>(208) 319-0137 | Toll-free p/f 877-561-1656>>>>>------------------------------------------------------------>>>>>>>>>>>>>>>>>>>>On Thu, 17 Apr 2003 19:33:45>>>>>Nitai @ ComputerOil wrote:>>>>>>On 17.4.2003 19:28 Uhr, Dan Strong >>>>>>wrote:>>>>>>>>>>>>>Perhaps allow the [index] of the loop to give each>>>>>>>{function} (disableit1, disableit2, etc.) and>>>>>>>each select tag ( ,>>>>>>>etc.)>>>>>>>their own corresponding unique values?>>>>>>>>>>>>>>I know, I know, this is apt to get bulky code-wise, but it would probably>>>>>>>work...I'm sure there is>>>>>>>a much more elegant way to do this...I just don't have time at the moment>>>>>>>to>>>>>>>figure it out....>>>>>>>>>>>>Yes, I understand.>>>>>>>>>>>>But what about my code which I posted? Actually it works to enable all the>>>>>>form elements, but when deselecting the checkbox it should also disable the>>>>>>form elements again!>>>>>>>>>>>>Actually, as far as I know, all I need is a way to figure out if the>>>>>>checkbox has been deselected.>>>>>>>>>>>>Something like:>>>>>>>>>>>>>>>>>>>>>>>>TIA.>>>>>>>>>>>>Sincerely,>>>>>>Nitai Aventaggiato>>>>>>CEO>>>>>>>>>>>>>>>>>>-- >>>>>>Tools to energize your business>>>>>>Content Management & eBusiness Systems>>>>>>>>>>>>ComputerOil? 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/>>>>>>>>>>------------------------------------------------------------->>>>>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/>>>>>>>>-- >>>>Tools to energize your business>>>>Content Management & eBusiness Systems>>>>>>>>ComputerOil? 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/>>>>>>------------------------------------------------------------>>>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/>>>>-- >>Tools to energize your business>>Content Management & eBusiness Systems>>>>ComputerOil? 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/>>------------------------------------------------------------->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:
A multi-processor savvy WebCatalog? (1997)
HTML mapped to WebCat (2001)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
2nd WebCatalog2 Feature Request (1996)
[WebDNA] Problem with Cookies in IE and Safari (2009)
Replace context problem ... and answers (1997)
survey builder code (2003)
Country & Ship-to address & other fields ? (1997)
carriage returns in data (1997)
passing search criteria (1997)
Unique SKU Numbers (2000)
[date] formatting bug inside [orderfile]? (1998)
Problem about [CART] number (1998)
Crash Log Question (2006)
OT: Variables in printed URL (2007)
PCS Frames (1997)
WebSTAR 2.1 freezes my Mac (1997)
2.0 Info (1997)
Sendmail strangie (2002)
Frames and WebCat (1997)