datepicker

Comparing an NSDate to [NSDate date]

I am trying to force a user to select a date in the future with a date picker. I obviously used the compare: method, however, when I do the following code, even if it's the same date as [NSDate date], it tells the executes the if statement. Here is my code: if ([datePicker.date compare:[NSDate date]] == NSOrderedAscending) // If the...

Date picker calendar gets buried under the Drop Down List

Hi All... I downloaded a Datepicker from the net and modified it a little bit according to my need. It works fine, but I have a small problem. The calendar dropdown gets buried under the DropDown list that is just below the date picker. Click For Image Here Could you please help? Thanks ...

Use Rails select_month and select_year to capture and store dates

I would like to use two picklists to control entry into a date field; I'm concerned with the month and year, not the day. So far, I have the following: <tr> <td>Date Range:</td> <td> <%= select_month(Date.today, :field_name=>"dateStarted") %> <%= select_year(Date.today, :field_name=>"dateStarted") %> &nbsp;to&nbsp; ...

best way to set jquery datepicker dates when user paging through data

I have a report where I am using jquery ui's datepicker for the start and end dates for the report data. When a user pages through the data, I want the maintain the date ranges on the picker. How can I do this? Say I modify the url's for the next/previous buttons based on the values of the datepicker, how would I reset the datepicker ...

jquery ui datepicker - need a draggable date version

The jquery UI datepicker functionality is great, but I'd like to replicate the google analytics style date picker where you can select a range of dates by dragging from start to end. I don't think the datepicker can do this, nor the excellent filamentgroup range picker. Anyone done this before and have either some mods to jquery ui dat...

Jquery Dyndatetime datepicker "selected" date bug!

Hi, I'm using http://www.mechanicalmarksy.com/hosted/toolman/dyndatetime/example.html datepicker and everythings works fine, but one bug. When you select some date for example 20. and go to another (next, previous) month 20. is selected but it shouldn't be. I can't figure it out how to solve this. now is February and if you select 20...

jQuery UI Datepicker with jQuery tipsy

Any ideas how to implement tipsy tooltips over jQuery's UI Datepicker? Basically I want to get a tooltip when the user moves on a specific date in the Datepicker. The Datepicker will be displayed inline and always visible. Thanks! ...

datepicker value as null

i have a datepicker placed in my form. after the form submition over, my datepicker value to be cleared out.how to clear out the value to be empty?? i have set initialvaluemode as null. ...

Is there a Rails or JQuery date picker that includes a predefined set of named ranges?

Before I roll my own (again, I already did this once in Java), is there a date picker that allows predefined named ranges in addition to the standard user-chosen dates. For example, I want the user to be able to choose 'Today' or 'This Week' or 'Last Month' and store it in such a way that it's relative to the time I access it, not based ...

Setting JqueryUI datepicker on a AJAX incoming form

Hello, I'm trying to put a JqueryUI Datepicker on an AJAX appearing form. The traditional $(".datepicker").datepicker(datepickerParams); does not work since the ".datepicker" element is not present on DOM ready. I've tried the live() method but there is no load event on <input>. Then, I do the following : $("#datepicker_button").live...

jQuery DatePicker: Get Selected Date

I need to be able to grab the selected date from the datepicker and populate another textbox with the selected value. I am currently using the onClose function like this: $('#defaultDate').datepicker({ onClose:function(theDate) { $('#txtEntry1').text = theDate } }); ...

JQuery DatePicker

Hi I am creating one web application. here I am facing one issue with jquery . Actually in my concept when user clicks on the Plus button one new row will be added. When user clicks on the minus button that specific row will be deleted. Row is having drop down lists and text boxes in it. Depending upon user selection the will be created...

Jquery Datepicker trigger after changing month (after month renders)

I want to highlight some days in the current month. I can do this on the first month, but not on a new month after "next month" or "prev month" is clicked. I tried using onChangeMonthYear event but this executes before the new (or prev) month renders. any ideas? thanks! ...

Dynamically add jQuery Datepicker

Hi This is reg.. JQuery Datepicker.Any one having example progam that one add datepicker to dynamically created row.give some tips wat r the i need to include js/css files.and give suggestion how can we add datepicker to dynamically created row for textbox. ...

DatePicker no longer working after changing a C# webapp to use a master page.

I'm working on a .Net/C# web application and had been using a javascript based calendar to allow users to select dates. This has been working fine. Today I changed the code to include a master page and the datepicker which is called from a childpage has stopped working, the problem being that the Textbox which the date is returned to i...

datepicker function undefined error

I have a scenario I need to create a text box row dynamically with a date picker. The text box name should be same when creating a new row. Whenever I am doing this I am get into trouble. I could not execute and get the result. Without date picker, I am able to create a new row with multiple text boxes. When I am adding a text box, it is...

jQuery Datepicker - How can I format the date as an epoch timestamp (in seconds NOT milliseconds)

I'm using the jquery datepicker plugin to set a date field that is stored as an epoch timestamp in the db (the field, publish_time, maps directly to the table schema). It seems that Datepicker only supports epoch in milliseconds, and not seconds. Its aggravating that it supports milli & nano seconds, but not seconds. Are there any quic...

jQuery UI Datepicker regional language and max value

I'm trying to combine some options of jQuery UI Datepicker I'm using the code below: $("#<%=tStartDate.ClientID %>").datepicker($.datepicker.regional['tr']); I need to add option for max date which is: { maxDate: '+1m +1w' } Can anybody tell hot to add this parameter? ...

jQuery - DatePicker showing up on top of text input field.

I have a form with a TextField for entering a date. I have a DatePicker "set" on this field. However, it appears on top of the field. I do not want it to obscure the text field. How do I go about doing this? ...

trying to display datepicker in Impromptu prompt box ?

Hi, I am trying to display ui datepicker ctrl in prompt box [ using impromptu jquery script]. Following is my code what I am trying. var txt = 'Date: <input id="datepicker" name="date_picker" type="text" />'; $.prompt(txt).$('#datepicker').datepicker(); as per blog - impromptu this should work but it doesn't display the datepicker ...