Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weird characters #15

Open
AhmedRyad22 opened this issue May 27, 2020 · 0 comments
Open

weird characters #15

AhmedRyad22 opened this issue May 27, 2020 · 0 comments

Comments

@AhmedRyad22
Copy link

sir please can you help with this issue
so when i try my scanner in ur demo page it works perfectly
but when i try it in my browser i get wierd characters
in your demo i got : Code: 6130760003769 Quantity: 1
in my browser i got : Scanned: 1x -&"àè-ààà"è-ç

my code below
`$(document).ready(function (){

onScan.attachTo(document, {
    suffixKeyCodes: [13],
    reactToPaste: true,
    timeBeforeScanTest : 100,
    avgTimeByChar : 30,
    minLength : 6,
    suffixKeyCodes : [9,13],
    scanButtonLongPressTime : 500,
    singleScanQty : 1,
    onScan: function(sCode, iQty) {
        console.log('Scanned: ' + iQty + 'x ' + sCode); 
    }

});

})
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant