I would like to know how to use the quick access keys in Jquery.
Currently for click events a button is used in this way:
$("#id_boton").on('click', function (e) {
//codigo ...
});
In the case of the row of a datatable:
$('#idtable tbody').on('click', 'input.elimina_fila', function () {
//codigo
});
but I would like to know for example when I press the A key, and also the F1, F2, F3 key. But also, when one presses the F1 key, there will be a browser tab (help), for that case, I would like to know how to block that action.
But in the case of the row of a table, as it would be. For example, in the row of the table, there is an input of type button that has a class called delete_file, where in the same input, there is a data-value and in the event, it received the value with this data, like this:
$('#idtable tbody').on('click', 'input.elimina_fila', function () {
var valor= $(this).data("valor");
});
As I would in the case that will position me in the row of a table and then press enter, where in the event, it captures the data's?
I would like to know how or what events I should use when I press a button, and when I am in the row of a datatable.
I hope I can have your help