Hi, With x.ready I initialize the calendar: __________________________________ $.datepicker.setDefaults({ showOn: 'both', buttonImageOnly: true, buttonImage: 'img/calendario.gif', buttonText: 'Calendario' });
$.datepicker.setDefaults($.datepicker.regional['es']); $("#ip15").datepicker($.datepicker.regional['es']); _____________________________________________ I have a button that copies that html and repeat the calendar without reloading the web, but the second calendar doesn't work (the first works fine). This is the result: <input id="ef5" class="hasDatepicker" type="text" readonly="true" size="8" name="data_titulacion1"/> <img class="ui-datepicker-trigger" src="img/calendario.gif" alt="Calendario" title="Calendario"/> <input id="ef51" class="hasDatepicker" type="text" readonly="true" size="8" name="data_titulacion2"/> <img class="ui-datepicker-trigger" src="img/calendario.gif" alt="Calendario" title="Calendario"/> Thank you.
-- You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery...@googlegroups.com. To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.