rem: $('input.custom-format:not(.date-time-processed)', context).addClass('date-time-processed').keyup(function() { var input = $(this); var url = Drupal.settings.dateTime.lookup +(Drupal.settings.dateTime.lookup.match(/\?q=/) ? "&format=" : "?format=") + Drupal.encodeURIComponent(input.val()); $.getJSON(url, function(data) { $("div.description span", input.parent()).html(data); }); 
add: $('select.date-format:not(.date-time-processed)', context).change(function() { $(this).addClass('date-time-processed').parents("div.date-container").children("div.custom-container")[$(this).val() == "custom" ? "show" : "hide"](); 
context:   $('input.custom-format:not(.date-time-processed)', context).addClass('date-time-processed').keyup(function() {    var input = $(this);    var url = Drupal.settings.dateTime.lookup +(Drupal.settings.dateTime.lookup.match(/\?q=/) ? "&format=" : "?format=") + Drupal.encodeURIComponent(input.val());    $.getJSON(url, function(data) {      $("div.description span", input.parent()).html(data);    });  });
meta: 6801	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6801/296f6e9f1166d8623c1d9ed37dc55dbbdc02f5be/system.js/buggy/modules/system/system.js