Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #35816
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Is there a control for this? |
| Date | 2018-11-15 15:49 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <87r2fmfiir.fsf@bsb.me.uk> (permalink) |
| References | <3ddf0501-7d86-4862-b47c-4220cd79732e@googlegroups.com> |
dr.j.r.stockton@gmail.com writes: > I have several controls, to be all alike, and the first has > been upgraded to (with these 3 inputs on ONE line) :- > > L > <input type=button value="-" onclick="this.nextSibling.value--;Draw()"> > <input name=L type=text size=4 value=13> > <input type=button value="+" onclick="this.previousSibling.value++;Draw()"> > > One of the effects of Draw() is reading the control. > > Is there a better approach nowadays - a single control element, > perhaps? It must accept typed values in L, and a slider would > either be too long or give insufficient resolution. The HTML5 solution is <input type=number> though it's up to the browser how that is rendered. That's not necessarily a negative -- if there's a good way to alter a number on some platform (maybe with a swipe action) they you want that to be made available. <snip> -- Ben.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-15 04:43 -0800
Re: Is there a control for this? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2018-11-15 15:49 +0000
Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-15 16:51 +0100
Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-15 10:17 -0800
Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-15 23:19 +0100
Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-16 03:49 -0800
Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-16 12:58 +0100
Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-16 10:51 -0800
Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-16 22:33 +0100
Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-17 03:26 -0800
Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-17 21:59 +0100
Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-18 06:29 -0800
Re: Is there a control for this? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2018-11-18 15:44 +0000
Re: Is there a control for this? Gloops <gloops@zailes.invalid.org.invalid> - 2018-11-18 10:35 +0100
Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-18 11:32 +0100
Re: Is there a control for this? Gloops <gloops@zailes.invalid.org.invalid> - 2018-11-29 17:08 +0100
Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-18 05:37 -0800
Re: Is there a control for this? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-11-18 17:13 +0100
Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-18 21:28 +0100
Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-19 02:51 -0800
csiph-web