Skip to content

Instantly share code, notes, and snippets.

@andyhite
Created October 3, 2013 17:15
Show Gist options
  • Save andyhite/6813455 to your computer and use it in GitHub Desktop.
Save andyhite/6813455 to your computer and use it in GitHub Desktop.
$.get(url ,function(table){
$('#'+lang).hide().html(table).fadeIn(1000);
var dateField = $('.dateField', $('#'+lang));
if (dateField.length > 0) {
dateField.datepicker({ options: "and", whatever: "you need" });
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment