Jump to content

Doubt Optical Reader


diegojmap

Recommended Posts

8 hours ago, diegojmap said:

I am trying to use a barcode reader on uniedit, it returns the following commands and opens the download page in chome and firefox, is it possible to block this?

You give incomplete information I think.

Link to comment
Share on other sites

Hi

 

Like Abaksoft i use many barcode readers without any problem.

The Ctrl-J i think is a barcode reader setting. Reset you're barcode reader or

set it to the correct country code.

A simple test, enter manual the number in the edit field and hit the enter

key to see what happens. If searching is going well, than it's a setting in you're barcode reader.

Typing the value is the same as what you do with scanning without the extra characters
If it has the same behavior maybe you  have some code in the onkeydown or something else

Link to comment
Share on other sites

I solved the problem using the following command, the problem is that it works on the whole program not only on screen, but for now solves my problem


<script>
    $(document).bind('keydown', function(e) {
      if(e.ctrlKey && (e.which == 74)) {
        e.preventDefault();
        alert('Ctrl+J Disabled');
        return false;
      }
    });
</script>

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...