Created
April 14, 2021 11:41
-
-
Save gridphp/fd1f3d01e1771267b722e24ab61a56ca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Library to load hotkeys --> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.hotkeys/0.2.0/jquery.hotkeys.min.js" type="text/javascript"></script> | |
<script> | |
// more help here: https://github.com/jeresig/jquery.hotkeys | |
jQuery(document).ready(function(){ | |
// where list1 is your grid id | |
jQuery(document).bind('keydown', 'f4', function assets() { | |
jQuery('#add_list1').click(); | |
return false; | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment