JavaScript Event KeyCode Test Page
Input:onKeyDown | onKeyPress | onKeyUp | |
---|---|---|---|
event.keyCode | |||
event.charCode | |||
event.which |
Notable Gotchas
- Firefox and onKeyDown vs. onKeyPressed
- Firefox and keyCode vs. charCode
- Enter key and onKeyPress on Firefox vs. IE
onKeyDown | onKeyPress | onKeyUp | |
---|---|---|---|
event.keyCode | |||
event.charCode | |||
event.which |
ice.onAfterUpdate( function (){
var calendars = $('.hasDatepicker');
if (calendars){
ice.ace.jq.datepicker.initialized = false;
}
});
jQuery(function($){
ice.onBeforeUpdate( function (){
ice.ace.jq.datepicker.initialized = false;
});
}
AJAX cache problem in IE, AJAX cache issue IE
Disable Cache in jQuery
Best way to avoid caching is by disabling it through jQuery setup. Following code snippet does this:
$.ajaxSetup ({
// Disable caching of AJAX responses
cache: false
});
Try to use this method of disabling cache in case you using different Ajax loading techniques such as.load(), .getJSON() etc.