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


Groups > comp.lang.javascript > #26929

Re: In mobile devices - How to restrict entering non-numeric values in textfield,

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: In mobile devices - How to restrict entering non-numeric values in textfield,
Date Wed, 25 Feb 2015 16:18:13 +0000 (UTC)
Organization A noiseless patient Spider
Lines 10
Message-ID <mcksk5$gmo$5@dont-email.me> (permalink)
References <5ef65a57-4d6f-4398-9a0e-bea9039837dc@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Wed, 25 Feb 2015 16:18:13 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="66ffcfa4470a58bcddbdcd1913f98ab4"; logging-data="17112"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19pyWE9smm1I7+wp0WG/BS4LeDTDRgTDew="
User-Agent Pan/0.136 (I'm far too busy being delicious; GIT 926a150 git://git.gnome.org/pan2)
Cancel-Lock sha1:swxMWFGqdJRY5xF6wCQTt0fgxWs=
Xref csiph.com comp.lang.javascript:26929

Show key headers only | View raw


On Wed, 25 Feb 2015 07:46:25 -0800, anjithkumar.garapati wrote:

> I tried using event.which >47 and lessthan 57, no luck in mobile keypad
> they are smileys, different symbols which are getting entered. No clue
> how to fix it, can anyone please help me out

assuming html5, <input type="number" ......>

-- 
Denis McMahon, denismfmcmahon@gmail.com

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


Thread

In mobile devices - How to restrict entering non-numeric values in textfield, anjithkumar.garapati@gmail.com - 2015-02-25 07:46 -0800
  Re: In mobile devices - How to restrict entering non-numeric values in textfield, Denis McMahon <denismfmcmahon@gmail.com> - 2015-02-25 16:18 +0000
    Re: In mobile devices - How to restrict entering non-numeric values in textfield, anjithkumar.garapati@gmail.com - 2015-03-04 02:45 -0800
      Re: In mobile devices - How to restrict entering non-numeric values in textfield, "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-03-04 11:54 +0100
        Re: In mobile devices - How to restrict entering non-numeric values in textfield, Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-03-04 08:54 -0300
          Re: In mobile devices - How to restrict entering non-numeric values in textfield, "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-03-04 17:39 +0100
            Re: In mobile devices - How to restrict entering non-numeric values in textfield, Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-03-04 16:46 -0300
              Re: In mobile devices - How to restrict entering non-numeric values in textfield, Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-03-05 21:20 +0100
                Re: In mobile devices - How to restrict entering non-numeric values in textfield, "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-03-06 08:54 +0100
                Re: In mobile devices - How to restrict entering non-numeric values in textfield, Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-03-06 09:05 -0300
                Re: In mobile devices - How to restrict entering non-numeric values in textfield, "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-03-06 13:23 +0100
                Re: In mobile devices - How to restrict entering non-numeric values in textfield, Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-03-06 13:49 -0300
                Re: In mobile devices - How to restrict entering non-numeric values in textfield, Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-03-06 20:51 +0100

csiph-web