jQuery Plugins – Month Picker
Posted in jQuery on 07/12/2009 09:21 pm by ycTINGood user experience month selector, easily to choose the report by month or quarter.
Demonstration
Download
Version 2.0 – Download (full demo and source code)
Bugs
Please comment here if you found it, i will kill the bugs ^_^
Related posts:
- jQuery Plugins – CheckTree(ycTIN Edition) This edition is compatible with CheckTree, fixed some bugs and...
- jQuery Plugins – AjaxScroll AjaxScroll is an lightweight jQuery plugins . Provided the ajax...
- [PHP] Force download the files Some time you may want the user download the file...
- [PHP] jQuery PHP Edition? phpQuery! phpQuery is a server-side, chainable, CSS3 selector driven Document Object...
- jQuery Overview jQuery is a fast and concise JavaScript Library that simplifies...
Tags: jQuery, Plugins, Selector


07/23/2009 at 4:34 PM
hi.
nice plugin! i’m using it in my current project.
but here are some suggestions:
you should be able to set the month & year after the monthpicker is created, for example in other events.
you should be able to return false in the callback, so that the selection of a month is not valid and remains at the old month.
ycTIN Reply:
July 23rd, 2009 at 8:53 PM
Thanks for your suggestions, i will implement your suggestion 1 in next version.
But i am not understand your suggestion 2, you mean the custom callback function should be return value to monthpicker object?
Best Regards,
Timmy
07/24/2009 at 5:14 AM
i mean, that an onClick event should be fired, with month/year event args. so you can validate if the change is valid (=highlight new month/year), or not (=don’t do anything, stay at the previously selected month)
ycTIN Reply:
July 28th, 2009 at 12:01 AM
oic , but I think I will add the new callback function named onBeforeChange instead of modify the onChanged. Any idea?
Best Regards,
Timmy
08/29/2009 at 9:27 AM
Hi Timmy
Is there any way to load the monthPicker plugin with a year and month previously selected before showing?
Thanks,
ycTIN Reply:
August 31st, 2009 at 11:53 PM
Hi Enrique,
You can see the `Example 2, set default value` at the demo site.
Best Regards,
Timmy
11/16/2009 at 9:26 PM
How to set default value in the textbox
ycTIN Reply:
November 19th, 2009 at 9:46 PM
I don’t understand what do you want, could you explain more detail?
11/25/2009 at 7:51 AM
Hey yc,
Nice work here, it’s just what I was looking for
I was wondering if you plan on tweaking your plugin to look and behave more like the jQuery DatePicker plugin (except that instead of days, I’d be picking months in a year). In particular, I was looking for a more compact layout and the ability to make the plugin behave like a popup and disapperar when click outside of it.
Thanks in advance for the feedback and congratulations!
Victor
ycTIN Reply:
December 2nd, 2009 at 2:56 PM
Hi Victor,
I make this plugin is to do the Ajax report filtering in my project, so it will have are different with DatePicker plugin. I also want to make it more similar to Datepicker too.
Regards,
Timmy
12/02/2009 at 12:35 PM
I love this!! It is perfect for what I need.
I apologize since I am not a jquery guy so please excuse my ignorance but I really want to use your great work.
Q: How can I strip out all the Year value functions???
I just need to select one month and move on. The year is not an option for my use.
I also will not be needing all the months each time. It will only need the months from their last entry to the end of the year.
I am very impressed with your work. i which I had such talent. Cheers!
12/12/2009 at 2:11 AM
Have you added a way to set the month/year after the montpicker has been created?
Such as: myMonthpicker.setDate(2009, 12);
ycTIN Reply:
December 17th, 2009 at 9:36 PM
Sorry, this function not yet ready.
02/10/2010 at 2:43 AM
This is a great plugin. Thank you for it. But I would like to suggest a new feature for it. I am using this in my current project, but the issue is they want to be able to arrange the months by fiscal year.
example my company fiscal year starts in Nov. so the months should be from Nov to Oct.
My question is would it be possible to set the starting month and get the the month value based on that?
04/01/2010 at 5:20 PM
Hi want to display two dates (i.e From and To dates).
But with the current plugin, It is taking new line for each date.
Please tell me what should i do.
Thanks
~nutheti
06/06/2010 at 11:26 PM
Tim,
Thanks for this nice extension.
The only thing i am missing is to set month/year to the new
selected month/year, it goes back each time to current month
year
09/30/2010 at 10:40 PM
can you help me get the value in an input field?
10/06/2010 at 2:09 AM
Hi
Is it possible to send/receive to picked month/year in a php variable (on the server)?
Thanks very much, Roger
ycTIN Reply:
December 24th, 2010 at 9:07 PM
Yes, use AJAX