Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #22273
| From | Norman Peelman <npeelman@cfl.rr.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: managing buttons |
| Date | 2013-12-09 23:05 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <l863tj$e80$1@dont-email.me> (permalink) |
| References | <l81j4h$7n4$1@shakotay.alphanet.ch> <l81r43$ens$1@dont-email.me> <XnsA290B2B281B3eejj99@194.109.133.246> <l83k64$4vb$1@shakotay.alphanet.ch> <XnsA291DB81578BAeejj99@194.109.133.246> |
On 12/09/2013 03:34 PM, Evertjan. wrote:
> Une Bévue wrote on 09 dec 2013 in comp.lang.javascript:
>
>> Le 08/12/13 17:34, Evertjan. a écrit :
>
>>> except that an id should start with a letter,
>>> and cannot contain a +.
>
>> in fact, it was a "symbolic" way to represent things.
>> for example, the id of of button "+" is add_category|add_item.
>
> What as lame defence. Why not just say "sorry"?
>
> To me it seems simply an error made either by incompetence or lazyness.
>
>>>> obj = document.getElementByID(button)
> [...]
>>>> ButtonsDisable(array("+","-","E"))
>
> This does not look like "symbolic" script.
>
Again, "off the cuff code...", "needs tweaking...". All you've
managed to do is tell the OP what he obviously already knew. I assumed
the OP would substitute their id/names appropriately and they did.
--
Norman
Registered Linux user #461062
AMD64X2 6400+ Ubuntu 10.04 64bit
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
managing buttons Une Bévue <unbewusst.sein@fai.invalid> - 2013-12-08 11:54 +0100
Re: managing buttons Norman Peelman <npeelman@cfl.rr.com> - 2013-12-08 08:10 -0500
Re: managing buttons Une Bévue <unbewusst.sein@fai.invalid> - 2013-12-08 15:03 +0100
Re: managing buttons "Evertjan." <exjxw.hannivoort@interxnl.net> - 2013-12-08 16:34 +0000
Re: managing buttons Denis McMahon <denismfmcmahon@gmail.com> - 2013-12-08 20:12 +0000
Re: managing buttons Norman Peelman <npeelman@cfl.rr.com> - 2013-12-08 17:59 -0500
Re: managing buttons Une Bévue <unbewusst.sein@fai.invalid> - 2013-12-09 07:02 +0100
Re: managing buttons Une Bévue <unbewusst.sein@fai.invalid> - 2013-12-09 06:24 +0100
Re: managing buttons "Evertjan." <exjxw.hannivoort@interxnl.net> - 2013-12-09 20:34 +0000
Re: managing buttons Norman Peelman <npeelman@cfl.rr.com> - 2013-12-09 23:05 -0500
Re: managing buttons "Evertjan." <exjxw.hannivoort@interxnl.net> - 2013-12-10 08:55 +0000
Re: managing buttons Norman Peelman <npeelman@cfl.rr.com> - 2013-12-10 07:07 -0500
Re: managing buttons Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-12-08 19:35 +0100
Re: managing buttons Une Bévue <unbewusst.sein@fai.invalid> - 2013-12-09 06:26 +0100
csiph-web