Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem With Ctrl C/V in Firefox after validating an input

 
Guilherme Mendes
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys, I'm having some problems with Firefox for copy and paste via ctrl c/v after validating an input to get only numbers in it. I'm using the following code:The function is called on an input at this way:The problem is: when I copy some numbers, e.g: 1234, and try to ctrl + v it on this input, nothing happens. The same when I have some numbers in the input and I try to ctrl + c. Anyone has an idea about how to proceed? This method works on Opera, without any changes. For other browsers I have another method, but I don't have any problems with them.
Sorry for english errors...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic