Questions tagged [anytime]

The Any+Time™ JavaScript Library includes a highly-customizable, jQuery-compatible datepicker/ timepicker (calendar/ clock widget) and a powerful Date/String parse/format utility.

The Any+Time™ JavaScript Library includes a highly-customizable, jQuery-compatible datepicker/ timepicker (calendar/ clock widget) and a powerful Date/String parse/format utility.

54 questions
0
votes
1 answer

how to capture close event of anytime datepicker

I'm using anytime.5.1.2.js jquery plugin date and time picker. I'm trying to figure out how to capture the close event on the picker. I was hoping to something like this: $("div#newRecord #newField1").AnyTime_picker( { format: "%m-%d-%Z…
Alan
  • 822
  • 1
  • 16
  • 39
0
votes
1 answer

Incorrect display of month days in AnyTime DatePicker

I encountered a very strange problem when using the Any+Time DatePicker library: the days of the month are not true. The screenshot below shows the November: As you can see, 5 November is a Thursday, but 6 November is a Saturday. The same thing…
Mark Korzhov
  • 2,109
  • 11
  • 31
  • 63
0
votes
2 answers

AnyTime widget not working

My Anytime date picker widget is not working. Here's my reference at Site Master:
cracker_chan
  • 93
  • 1
  • 3
  • 11
0
votes
2 answers

jQuery - Live initialization of AnyTime Picker on appended element

http://www.ama3.com/anytime/ $(".pick_date").AnyTime_picker({ format: "%W, %M %D, %z" }); This is code to initialize AnyTime picker on .pick_date element. But if I append element then AnyTime doesn't work on it. Is there a way to make it work. I…
ilija veselica
  • 9,414
  • 39
  • 93
  • 147
0
votes
1 answer

blocking off certain time in anytime picker

Hi is there a way i can block off certain hours in the anytime picker, so that the user wont be able to click on those hours. For example grey off the hours ( 19,20,21,22,23,00,01,02,03,04,05,06,07,08). Im trying to create a UI for the user to block…
Azl
  • 5
  • 1
  • 5
0
votes
1 answer

Changing a Date & Time input (AnyTime picker) into a date object to get the seconds

Im using AnyTime picker to get date and time (start date& time) in a format "%d/%m/%Y %H:%i:%s", im trying to get this input to be converted into a date object so that i could use getSeconds() to get the seconds and add a duration(in seconds) to get…
Azl
  • 5
  • 1
  • 5
0
votes
1 answer

Anytime Picker: Month table is not in a table form, but its inline downwards

im using the current css and js from http://www.ama3.com/anytime/ Basically the month table is not suppose to look like this. Some how it displays inline downwards. Can i get some help with this. Im thinking it should be the CSS that is the problem.…
Azl
  • 5
  • 1
  • 5
0
votes
1 answer

How do I change programmatically the date of an Anytime datepicker?

I've revised all the Anytime datepicker Q/A on Stackoverflow to no avail. How do I change, not at initialization phase, the date of the picker? Use Case: I want sometimes the user to pick a date but also sometimes an external event to trigger and…
jldupont
  • 93,734
  • 56
  • 203
  • 318
0
votes
2 answers

Anytime time / datepicker triggers change event each time an input box is focused even without changing the content. How to avoid this?

As stated in the title, I get a change event each time I focus an input text box with an anytime datepicker / timepicker attached. Is there a way to avoid this behaviour? Since I obviously only want to get a change event, when I actually change…
Toskan
  • 13,911
  • 14
  • 95
  • 185
0
votes
1 answer

AnyTime datepicker add a clear button

I am a new to js and am trying to figure out if there is a way to either modify an existing button within AnyTime Datepicker or add a new one that will clear the date from the field. I see this as a possible solution, but can't figure out where to…
Jason
  • 754
  • 3
  • 8
  • 22
0
votes
1 answer

Clean overwrite of private variable inside of closure (?) function

So i cannot get this to work in a fiddle (because the owner seems to disallow external reffing of his library), so I fear I have to stick to prosa and some snippets. Basically I want to use the anytime plugin for time selection, looks like…
Toskan
  • 13,911
  • 14
  • 95
  • 185
0
votes
2 answers

How to have Anytime datepicker firing selectively

I am using the Anytime datepicker on some input elements. This is how it's set on an element: AnyTime.picker(element_id) With element_id being a string containing the id of the element. When the element is clicked, it brings up the Anytime…
Rolf
  • 5,550
  • 5
  • 41
  • 61
0
votes
1 answer

How can I programmatically set the time value in the Anytime datetimepicker widget?

I think the Anytime datetimepicker widget is the cat's meow (or the Rolls Royce's roar (Why are the key elements of the anytime jQuery plugin blending in with the background/invisiblized?)), I implement it this way: HTML
0
votes
2 answers

Why are the key elements of the anytime jQuery plugin blending in with the background/invisiblized?

The anytime jQuery plugin has its key elements (current month, day, year, hour, etc.) "blanked out" as shown below. Why, but more importantly, how to put some starch back into those key elements? BTW, this is in jsfiddle, so I don't have any "fancy"…
0
votes
2 answers

How can I set the time value of the anytime jQuery plugin?

The anytime jQuery plugin by default displays with the current date/time. The current date is perfect, but I want to set the time to midnight/00:00:00 for one "DateTimePicker" and the day's ultimate second (23:59:59) for the second one. How to do…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862