Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

why cant i use keyboard shortcut in a particular textbox where some validation is present like ONLY NUMBERs are accepted

  • 3 respostas
  • 1 tem este problema
  • 11 visualizações
  • Última resposta por the-edmeister

more options

i have a full registration form in that one field accept only number. if user press any alphabets a-z it dosnt accept. The ISSUE is that if enter some no on that field and try to copy or select or cut it by using ctrl+C, ctrl+A, ctrl+V ..nothing happen..i cant change the value..

works fine with other browser..

i have a full registration form in that one field accept only number. if user press any alphabets a-z it dosnt accept. The ISSUE is that if enter some no on that field and try to copy or select or cut it by using ctrl+C, ctrl+A, ctrl+V ..nothing happen..i cant change the value.. works fine with other browser..

Todas as respostas (3)

more options

Is this something that you are developing? Is there a public page where this can be tested? If not, can you provide a test case example that we can try?

more options

the-edmeister said

Is this something that you are developing? Is there a public page where this can be tested? If not, can you provide a test case example that we can try?

Ya i am developing it i have a javascript that restrict the use from entering chars. the script is

$('#practiceNPI').bind('keypress', function (e) {
       
      
       var k = e.which;
       var ok = k >= 48 && k <= 57 || k == 01 || k == 0||
k ==8  ;                               
       
       if (!ok) {
           e.preventDefault();
    
      }
   });
more options

This forum is intended for user support, not for web development issues. Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The contributors over there are more knowledgeable about web page development issues with Firefox. http://forums.mozillazine.org/viewforum.php?f=25 You'll need to register and login to be able to post in that forum.