Prefer use "which" instead of "keycode"
This commit is contained in:
parent
e1b7eb3a24
commit
f5f84a9be0
@ -14,7 +14,7 @@ $(document).ready(function(){
|
||||
$(this).html('Chargement...');
|
||||
$(this).load(href);
|
||||
$('#dialogsurv').keypress(function(e){
|
||||
if (e.keyCode == 13){
|
||||
if (e.which==13){
|
||||
e.preventDefault();
|
||||
survSubmit();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user