I would like to know the name of this key in Android keyboard below.
I would like to add to the following jQuery method to prevent form submission or tab transition.
JavaScript:
const blockEnter = () => {
$('input').keydown(function(e){
if( e.key == 'Enter' || e.code == 'Enter' || e.key === "Tab" || e.code === "Tab" ) {
e.preventDefault();
}
});
}
above function run properly on the desktop and iPhone(safari)