jquery-datepicker

MVC partial View jQuery datepicker removing previous date pickers

I have a page where I am trying to add Children to a Parent object. On the page, I have a link, "Add Child", that calls an ajax get, returning a partial view with textboxes for the Child. In the sucess, i am doing a function to add the results to the innerHTML of a div. On the partial view, I have a textbox for the Birthdate, named "B...

Jquery click function is not working in below code..??

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <link type="text/css" href="App_Themes/jquery-ui-1.7.3.custom.css" rel="stylesheet" /> <script src="Scripts/jquery-1.3.2.min.js"type="text/javascript"></script> <script src="Scripts/jquery-ui-1.7.3...

jQuery: datepicker causes entire page to flicker!

when i set a custom yearRange for my datepicker (ie. +- 100 years), during the focusin event on the datepicker input field, a page flicker occurs. also, when changing the month/year inside the datepicker gui, the datepicker flickers. i think it is because more than +-20 years in the datepicker yearRange is maybe too much DOM for the dat...

Help with CSS selectors (jQuery datepicker)

I'm tyring to style the jQuery datepicker. I can't use a jQuery theme as it wrecks the rest of my site. I've got it all working expect for one bit - highlighting the current day. The problem I'm having is that when the datepicker first loads the current day is displayed as follows: <td class="ui-datepicker-days-cell-over ui-datepicke...

jQuery UI Datepicker Slow During Typing

I've heard all these great experiences of how great and elegant jQuery is, but I'm 0 for 2 trying to implement jQuery controls in real world projects due to poor performance. I am running into a similar problem as Richard this time. The jQuery UI DatePicker failed User Acceptance Testing in an ASP.NET application I'm working on because...

ASP.NET MVC jQuery DatePicker Navigate to page on select date

Hi, I'm using the JQuery DatePicker as a little Calendar Dashboard, marking dates with "agenda items" (events, office closed, meetings ...). The dates are marked and clickable, but now I'd like to navigate to the "Day Detail" when the user clicks on one of the dates. Here's what I have so far, but I'm missing (see ???) how I can appen...

Datepicker Label instead of a textarea...Is that possible

I would like a label instead of a textbox, is that possible. The code is below: $(document).ready(function(){ $("#mydate").datepicker({ maxDate: '+1y', minDate: new Date() }); }); <li class="quick_date"><%= text_field_tag "mydate", Date.now.strftime('%m/%d/%Y'), :size => 10 %> <a id="quick_search" href="#">(Change Me)</a></li> ...

jquery datepicker Buddhist date

Hi All, is there any jquery datepicker plugin to display as Buddhist date? currently I use jquery ui datepicker to display it, but it's not actually I want. here is the code $(document).ready( function() { $("#datepicker").datepicker( { appendText: ' yyyy-mm-dd', autoSize: true, buttonImage: 'images/calenda...

Datepicker first valid date

Hi guys, I have a datepicker in which I deactivated all dates except for a few special dates in any given month. Is there a way to get the first selectable date from that month? So on the OnMonth change I can use the date in a url. I have the month and year via the onChangeMonthYear event. Thanks. ...

jQuery UI Datepicker altField .change function not working?

Can anyone tell me why the console.log line isn't getting run when I select a date with the jQuery UI Datepicker? Thanks for reading. <script type="text/javascript"> $(window).ready(function() { $(function() { $("#datepicker").datepicker({ altField: '#dateIntermediate'}); }); $('#dateIntermediate'...

How do I connect jQuery Datepicker to my Ruby on Rails form?

I'm trying to use the jQuery Datepicker to set a date field in my Ruby on Rails form, but I can't work out how to do it. Can someone point me in the right direction? ...

How to show a full year starting from January with jQuery UI datepicker?

I want a calendar that shows the whole year starting from Jan-Dec regardless of what month today is. At the moment, this will show the date from July 2010 to June 2011. jQuery('.calendar').datepicker({ numberOfMonths: [3, 4], stepMonths: 12 }); When I added showCurrentAtPos: <? echo date('n')-1 ?>, it seems to place the curren...

Page content disappears when showing jQuery UI datepicker in IE7

Hi I'm using jQuery UI: <script type="text/javascript" src="/jscripts/jquery-1.4.min.js"></script> <script type="text/javascript" src="/jscripts/jquery-ui-1.8.2.custom.min.js"></script> and IE7 (corporate rule!) When datepicker shows up (enclosed in form and surrounding div), parent div content disappears. It shows up again when I m...

positioning jquery.datepicker

Does anyone have any experience positioning the jquery.datepicker found at http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerClickInput.html Functionality-wise it works perfectly, doing exactly what I want it to. However, I'm using it for a search function, and need multiple fields in order to search for dates, and o...

JQuery Restricting Date Range Based on Dropdown

I'm using the JQuery DatePicker to have the user pick a date and have that show up in a textbox. Easy enough. However a restriction I'm working on is that the date range is restricted based on the month that's currently picked out in a user dropdown menu to the month beginning and end dates. So for example if someone selects "Aug/2010" ...

jQuery datepicker, disable month selection

Hi i'm sure there must be an easy way to do this but can't find the option to set it anywhere. I am trying disable the left/right buttons that allow the user to change months. I've removed the drop down list of months but can't get rid of the buttons. $("#date").datepicker({ changeMonth: false, changeYear: false, dateFo...

jquery datepicker defaultDate going to 23/02/2016!?

I've added the detaultDate to my datepicker, it is getting the default date from a database, if i look at the source code of my page when ran the defaultDate looks fine but it goes to a completely different date, date format is dd/mm/yyyy. $("#date").datepicker({ changeMonth: false, changeYear: false, dateFormat: 'dd/mm/yyyy...

How can I get the JqueryUI datepicker show "Today" in the input box.

When the user selects today in the datepicker, I want the associated input box to show the word "Today". Is there any reasonable way to accomplish this? ...

ipad web application: How do I prevent the keyboard from popping up on jquery datepicker.

I have a form with an date field with a jquery datepicker attached to it. When I select the date field the datepicker pops up but then the iPad keyboard slides into view and obscures the datepicker. How do I prevent the keyboard from popping up in this situation? ...

jquery.ui.datepicker is not loaded with ajax

i have an html page(mypage.html), which uses jquery.ui.datepicker <table> <tr> <td valign="middle"><input type="text" name="from_date" id="from_date" ></td> <td width="6"><script type="text/javascript"> $(function() { $("#from_date").datepicker( {dateFormat: 'mm-dd-yy', showOn...