I'm trying to test out the Anytime combination Date/Time picker jQuery plugin (http://www.ama3.com/anytime/).
I downloaded the js and css files and placed them in a folder on my dev machine.
In jsfiddle.net, I've added these with a full path to the External Resources section, zB: C:\Duckbill\anytime.compressed.js C:\Duckbill\anytime.compressed.css -and added this after those, too: //ajax.aspnetcdn.com/ajax/jquery.migrate/jquery-migrate-1.1.1.min.js
I've got this html:
<tr>
<td>
<input type="text" name="anytime" id="anytime" />
</td>
<td>
<input type="text" name="field1" id="field1" />
</td>
<td>
<input type="text" name="field2" id="field2" />
</td>
</tr>
...and this jQuery:
$(function () {
AnyTime.picker("anytime");
AnyTime.picker("field1");
$("#field2").AnyTime_picker();
});
...yet when I Run it, none of these attempts succeed; it just displays three "regular old" text boxes in the "Results" pane.
What am I doing wrong?
UPDATE
Here's what works in jsfiddle, with External Resources references to the .js and .css files on anytime's server, as well as a reference to the migrate .js on ajax.aspnetcdn.com/:
HTML:
<table>
<tr>
<td class="labelText">
<label for="BeginDateTime">Begin Date/Time</label>
</td>
<td>
<input type="text" name="BeginDateTime" id="BeginDateTime" />
</td>
<td class="labelText">
<label for="EndDateTime">End Date/Time</label>
</td>
<td>
<input type="text" name="EndDateTime" id="EndDateTime" />
</td>
</tr>
. . .
jQuery:
$(function () {
AnyTime.picker("BeginDateTime");
AnyTime.picker("EndDateTime");
});