Mostrando postagens com marcador jQuery. Mostrar todas as postagens
Mostrando postagens com marcador jQuery. Mostrar todas as postagens

segunda-feira, 5 de novembro de 2012

Teste de event Key Code Javascript






JavaScript Event KeyCode Test Page

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

fonte: http://www.asquare.net/javascript/tests/KeyCode.html


terça-feira, 28 de agosto de 2012

<ace:dateTimeEntry/> Correção do problema do componente

Correção do problema do componente


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;
    });
}

segunda-feira, 27 de agosto de 2012

Cache jQuery

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.