How can I pass a value via .bind
to a keyup function??
Here is an example of what I'm trying to achieve.
var a = 10;
$(document).on("keyup", ".tfs", function(a) {
if(a != 8){ //trying to show that it was not via paste
a = 10; // if not pasted keep value 10
}
})
$('.tfs').on('paste', function(a) {
a = 8; // if pasted pass value 8
});