Hi, I want my users to be able to set and modify their date of birth. So I use this function:
echo object_input_date_tag ($user, 'getDob', 'rich=true'); I want the form to be displayed in a DIV, loaded with AJAX. But when I do that, the button next to the field, which is supposed to display the calendar, is always disabled, with the "disabled" html attribute: <input id="dob" type="text" size="12" value="2013-07-20" name="dob"/> <button id="trigger_dob" onclick="return false" disabled="disabled" type="button">...</button> But if I load this form directly in a simple page, without AJAX, everything works fine... <input id="dob" type="text" size="12" value="2013-07-20" name="dob"/> <button id="trigger_dob" onclick="return false" type="button">...</ button> <script type="text/javascript"> I don't know why this comportement occurs... Does any body have an idea about how to fix this problem with AJAX? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---