Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>EDIT:</p> <p>This works.</p> <pre><code>&lt;div id="mydatepicker"&gt; &lt;/div&gt; &lt;input type="button" id="MyButton" value="Append" /&gt; &lt;script type="text/javascript"&gt; $(function() { $('#MyButton').live("click", function() { var mydatepickerHtml = 'English: &lt;input type="text" id="field1" size="50" value="Sunday, July 30th in the Year 1967 CE" /&gt;&lt;br/&gt;Español: &lt;input type="text" id="field2" value="12:34" /&gt;'; $("#mydatepicker").append(mydatepickerHtml); AnyTime.picker( "field1", { format: "%W, %M %D in the Year %z %E", firstDOW: 1 } ); $("#field2").AnyTime_picker( { format: "%H:%i", labelTitle: "Hora", labelHour: "Hora", labelMinute: "Minuto" } ); }); }); &lt;/script&gt; </code></pre> <hr> <p>I tried out this plugin in sample page on appended html. It works.</p> <p>I think you should check the <code>html data</code> returned on ajax request. Does it contain pick_date element? </p> <p>You can also check the <code>$(".pick_date").length</code> to verify that you are getting element.</p> <p>Checkout my sample.</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;link rel="stylesheet" type="text/css" href="anytimec.css" /&gt; &lt;script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="anytimec.js"&gt;&lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="mydatepicker"&gt; &lt;/div&gt; &lt;script type="text/javascript"&gt; var mydatepickerHtml = 'English: &lt;input type="text" id="field1" size="50" value="Sunday, July 30th in the Year 1967 CE" /&gt;&lt;br/&gt;Español: &lt;input type="text" id="field2" value="12:34" /&gt;'; $(function() { $("#mydatepicker").append(mydatepickerHtml); AnyTime.picker( "field1", { format: "%W, %M %D in the Year %z %E", firstDOW: 1 } ); $("#field2").AnyTime_picker( { format: "%H:%i", labelTitle: "Hora", labelHour: "Hora", labelMinute: "Minuto" } ); }); &lt;/script&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload