I have a jquery datepicker script and what I want to do is to change "minDate: 10" value by a select box.
if the first option is selected the minDate:10 , if the second option is selected then minDate:20 etc...
Is it going to update the datepicker in real time every time I select a different selection?
Thanks in advance!
$(function() ...
Hello I have two text inputs which get their values from a datepicker.
What I want to do is when user selects the two dates script pass these two values to a php document in which I make some checks and I return some html.
Here is what I'm trying to do:
(#to and $from are 2 input texts)
$(document).ready(dateinput_change);
function...
Hi guys,
i want to use the Datepicker for highlighting specific dates. Here is my latest code:
<script type="text/javascript">
var dates = [30/04/2010, 01/05/2010];
$(function(){
$('#datepicker').datepicker({
numberOfMonths: [2,3],
dateFormat: 'dd/mm/yy',
beforeShowDay: highlightDays
}...
I need a date picker that shows an actual calendar (similar to the built-in calendar feature on the iPad.) Is there a reusuable widget? How could I easily implement one? The date picker wheel is terrible because it doesn't show you the day of the week (Sun, Mon, Tue...) and isn't really needed on the iPad where you have enough room to...
jQueryUI Datepicker documentation states that the minDate option can be set using "a string in the current dateFormat". So I've tried the following to initialize datepickers:
$("input.date").datepicker({ minDate: "01/01/2010", maxDate: "12/31/2010" });
However, this results in my datepicker having a selectable date range that goes fro...
I am trying to implement the Jquery datepicker using a google hosted theme. But the Calendar is too big. Can I make it a smaller version by altering the function itself seeing I cant change the theme?
<link rel="stylesheet"
href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/start/jquery-ui.css"
type="te...
Hi all,
I want to use the Jquery datepicker. I've got it setup using an the alt field option. I'm displaying Y-M-D in the text field, but submitting Y-M-D. Everything works fine so far, sending the correct data, etc.
However I want to stop the user from being able to manually type a date. I add originally set the INPUT field to disable...
i have a form in drupal with jquery based date module. there are multiple fields with date picker enabled. i want to set the value of all of them (they all have class .date-popup-init) to the value of the first field (#edit-field, the 'from' date) when that field is set.
my code so far:
<script type="text/javascript">
var DatePi...
Hi,
I'm using ui.datepicker.js
and I want to validate the date field to make sure the user select a date.
I have tried
function allow_submit()
{
var f = document.all.frm;
if (f.date.value == "") {
jAlert("Please select a date");
return false;
} //if
return true;
}
and also have try
if (f.date.value == "0000-00...
So I'm using the jQuery date picker, and it works well. I am using AJAX to go and get some content, obviously when this new content is applied the bind is lost, I learnt about this last week and discovered about the .live() method.
But how do I apply that to my date picker? Because this isn't an event therefore .live() won't be able to ...
Hi All,
I would like to display a DatePicker where the year field would be visible or not, according to a checkbox.
But I didn't find anything giving me a way to implement it.
Any idea please ?
Thanks in advance.
...
hi there,
i'm using successfully a jquery datepicker with masked input plugin too in a aspx webform.
I've noticed a bug: when i insert a date by choosing it on the calendar and then i try to modify it manually, the date suddenly disappears.
Have u ever seen this behaviour?
...
I am having trouble displaying the jQuery datepicker as shown here:
http://jqueryui.com/demos/datepicker/
I believe I downloaded all of the proper files, but to be certain, I started from scratch and ripped the demo site. Not all of it, but what I believed to be the important parts. The result is no datepicker to be shown and no javas...
I'm trying to control positioning of a jQuery datepicker element. I like the solution offered at http://stackoverflow.com/questions/1818670/how-to-control-positioning-of-jqueryui-datepicker for overriding the _checkOffset fn:
$.extend(window.DP_jQuery.datepicker,{_checkOffset:function(inst,offset,isFixed){return offset}});
However, t...
How do I add the out-of-the-box SharePoint date filter webpart to an ASP.Net web page?
I want to do it either in an ASPX...
<%@ Register Assembly="<DateFilterDLL??>" Namespace="<??>" TagPrefix="DP" %>
<...>
<asp:WebPartManager ID="WebPartManager1" runat="server">
</asp:WebPartManager>
<...>
<ZoneTemplate>
<DP:...
I have a webpage that uses multiple instances of the jQuery ui datepicker. My webpage will display ~80 records which extends beyond a single screenshot.
<% foreach (var record in Model) { %>
<div class="recordname"><%=record.name%></div>
<%=Html.TextBox("DateTimePicker", null, new { @class = "date-pick" } )%>
// <-- addition...
Hi, im using datepicker v2. And I have a question. Is there a possibility to let the currentdate have a offset of 2 days. For example; today is it 14may. Can i let the datepicker start today with 16may? And that 14&15 aren't selectable?
Greetz from Belgium
...
So I'm using the datepicker plugin to make an availability calendar. Here is my javascript:
http://pastebin.com/H7D9PcAg
When dpSetSelected() is called it is also calling dateSelected() which triggers the AJAX call to my PHP script. I need a way to only update the database if the date is clicked on and not pre-loaded. When I pre-load th...
HI. I'm having problem to highlight more days. Somehow the if statement in beforeShowDay isn't true when it should be :(
dateString typeof is string and an example is available in the screenshot at http://mikaelz.host.sk/datepicker.png
Pasted code:
var dates = new Array();
function addDate(date) {if (jQuery.inArray(date, dates) < 0)...
i have the value polled from the db and if the user want to change it - i want the calendar to be set first to the date already in the field
im using asp
and this picker
http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/
...