[jQuery] CTRL+S to Insert Record PHP+JQUERY
Hi , Can u tell me , i have to create any div ID ? , Or simply paste this code ? jQuery(function($) { var pressed = {}; $(document).keydown(function(event) { // Capture the key being pressed var keyCode = event.keyCode; pressed[keyCode] = true; // Check if 'S' was pressed if (83 == keyCode) { // Check if Ctrl + S (Windows) or Command + S (Mac) was pressed if (pressed[17] || pressed[224]) { alert('Custom save dialog!'); event.preventDefault(); // prevent the default save dialog } } }); $(document).keyup(function(event) { delete pressed[event.keyCode]; }); }); -- உங்கள் நண்பன் பரணி குமார் Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyerphp.site88.net/bharanikumar/
[jQuery] CTRL+S to Insert Record PHP+JQUERY
Hi All , Can u please tell , How to implement in jquery, php,, Insert record after pressed the CTRL+S in keyboard , Thanks -- உங்கள் நண்பன் பரணி குமார் Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyerphp.site88.net/bharanikumar/