Posted By

onefastsnail on 05/24/12


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

hurcy


alt date jquery ui


 / Published in: JavaScript
 

  1. $( ".datepickerx" ).datepicker({
  2. onSelect: function(dateText,picker) {
  3. $('#csd').val( dateText.split(/\//)[1] );
  4. $('#csd_mm').val( dateText.split(/\//)[0] );
  5. $('#csd_yyyy').val( dateText.split(/\//)[2] );
  6. }});

Report this snippet  

You need to login to post a comment.