Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #12311

Re: Cant use <input text as a numeric

Newsgroups comp.lang.javascript
Subject Re: Cant use <input text as a numeric
From "Evertjan." <exjxw.hannivoort@interxnl.net>
References (7 earlier) <q2fqk7db3viqv85nd0hduoodh5hr8qugbb@4ax.com> <XnsA0085A9AC5DCeejj99@194.109.133.133> <v5uqk710tfcumi4uskv26pd91sha5ihoe4@4ax.com> <XnsA008679A21F9Ceejj99@194.109.133.133> <488tk7deus0f057pvn5qpkv9fuccf60l1u@4ax.com>
Message-ID <XnsA008EE064E503eejj99@194.109.133.133> (permalink)
Date 2012-02-29 22:23 +0000

Show all headers | View raw


Gene Wirchenko wrote on 29 feb 2012 in comp.lang.javascript:

> On 29 Feb 2012 09:11:07 GMT, "Evertjan."
> <exjxw.hannivoort@interxnl.net> wrote:
> 
>>Gene Wirchenko wrote on 29 feb 2012 in comp.lang.javascript:
>>
>>> On 28 Feb 2012 23:33:27 GMT, "Evertjan."
>>> <exjxw.hannivoort@interxnl.net> wrote:
>>> 
>>>>Gene Wirchenko wrote on 28 feb 2012 in comp.lang.javascript:
>>> 
>>> [snip]
>>> 
>>>>>      So what about the example I posted?  How would you get the
>>>>> equivalent in valid form?
>>> 
>>>>Cann't say as I don't want to use invalid code 
>>>>as a base for discussion of correct code.
>>> 
>>>      I know what the invalid code is intended to do.  I want to know
>>> how to do that with correct code.
>>
>>Quite so, Gene, you may know and want to,
>>but I don't want to discuss 
>>the proper [in your eyes proper] working of invalid code.
> 
>      Are you really that dense?

It is you that wants me to do something,
and insisting after I declined.

>      It is obvious from the incorrect code what is intended that it
> do.  I would like to do that same thing with correct code.

I do not read code marked as incorrect as a source to your intentions.
I am not your intended father in law.

>>Methinks the specs disalowance of multiple element.id-s with the same
>>value is not only required but logical.
> 
>      It is also logical to group things.  Unfortunately, this thing
> with CSS seems to work on id values not being unique.  What is the
> alternative code?

Pehaps some browsers are indulgent to your errors. But not in the way you 
described. Such browsers only reference the first of this same names id-
group. 

Believing that therefore it is a right and safe way to programme
is ludicrous.

Programming may be paved by good intentions indeed.
Experience and clear spec-knowledge are more important.

>>Any id should be unique.
>>
>>There are so many ways to collect multiple html-elements into a
>>collection without needing non-unique id-s.
> 
>      What if you wish to stay within HTML?

Meaning without css and javascript?

In html, id-referencing is only used in <label for='...'>,
I believe.



-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Cant use <input text as a numeric " Cal Who" <CalWhoNOSPAM@roadrunner.com> - 2012-02-24 14:32 -0500
  Re: Cant use <input text as a numeric " Cal Who" <CalWhoNOSPAM@roadrunner.com> - 2012-02-24 16:54 -0500
    Re: Cant use <input text as a numeric Denis McMahon <denismfmcmahon@gmail.com> - 2012-02-24 22:34 +0000
      Re: Cant use <input text as a numeric " Cal Who" <CalWhoNOSPAM@roadrunner.com> - 2012-02-24 17:48 -0500
        Re: Cant use <input text as a numeric Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-25 00:33 +0100
          Re: Cant use <input text as a numeric " Cal Who" <CalWhoNOSPAM@roadrunner.com> - 2012-02-24 20:14 -0500
            Re: Cant use <input text as a numeric "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-02-25 08:51 +0000
              Re: Cant use <input text as a numeric " Cal Who" <CalWhoNOSPAM@roadrunner.com> - 2012-02-25 09:25 -0500
              Re: Cant use <input text as a numeric Gene Wirchenko <genew@ocis.net> - 2012-02-27 13:49 -0800
                Re: Cant use <input text as a numeric "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-02-27 22:06 +0000
                Re: Cant use <input text as a numeric Gene Wirchenko <genew@ocis.net> - 2012-02-27 17:00 -0800
                Re: Cant use <input text as a numeric John G Harris <john@nospam.demon.co.uk> - 2012-02-28 10:46 +0000
                Re: Cant use <input text as a numeric Gene Wirchenko <genew@ocis.net> - 2012-02-28 12:45 -0800
                Re: Cant use <input text as a numeric "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-02-28 23:33 +0000
                Re: Cant use <input text as a numeric Gene Wirchenko <genew@ocis.net> - 2012-02-28 17:04 -0800
                Re: Cant use <input text as a numeric "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-02-29 09:11 +0000
                Re: Cant use <input text as a numeric Gene Wirchenko <genew@ocis.net> - 2012-02-29 14:07 -0800
                Re: Cant use <input text as a numeric "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-02-29 22:23 +0000
                Re: Cant use <input text as a numeric Gene Wirchenko <genew@ocis.net> - 2012-02-29 16:04 -0800
                Re: Cant use <input text as a numeric Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2012-02-28 01:58 +0100
                Re: Cant use <input text as a numeric Gene Wirchenko <genew@ocis.net> - 2012-02-27 21:31 -0800
                Re: Cant use <input text as a numeric Dr J R Stockton <reply1209@merlyn.demon.co.uk> - 2012-02-28 21:41 +0000
                Re: Cant use <input text as a numeric Dr J R Stockton <reply1209@merlyn.demon.co.uk> - 2012-03-01 20:52 +0000
            Re: Cant use <input text as a numeric Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-25 13:12 +0100
        Re: Cant use <input text as a numeric Denis McMahon <denismfmcmahon@gmail.com> - 2012-02-25 04:36 +0000
          Re: Cant use <input text as a numeric " Cal Who" <CalWhoNOSPAM@roadrunner.com> - 2012-02-25 09:13 -0500
        Re: Cant use <input text as a numeric Denis McMahon <denismfmcmahon@gmail.com> - 2012-02-25 04:41 +0000
          Re: Cant use <input text as a numeric Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-25 13:13 +0100
            Re: Cant use <input text as a numeric " Cal Who" <CalWhoNOSPAM@roadrunner.com> - 2012-02-25 09:17 -0500
              [OT] Quoting style (was: Cant use <input text as a numeric) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-27 17:52 +0100
          Re: Cant use <input text as a numeric " Cal Who" <CalWhoNOSPAM@roadrunner.com> - 2012-02-25 09:15 -0500
      Re: Cant use <input text as a numeric Dr J R Stockton <reply1208@merlyn.demon.co.uk> - 2012-02-25 21:00 +0000

csiph-web