Items 1-12 out of 3980 displayed
This is not possible because you're mixing client-side behavior with server-side behavior. What you need to do is create an AJAX request to the server.
If you were using a library like...
here you can use randomBytes()
method for get unique id
const crypto = require('crypto');
console.log(crypto.randomBytes(20).toString('hex'));
you...
The simplest option is to remove all commas: parseInt(str.replace(/,/g, ''), 10)
Normally by pressing F12 or using inspect on your result pane.
Alternatively add