[jQuery] Re: Datepicker and IE7

2009-09-23 Thread Vitor Santos
Solution is found. In my environment we had another framework, DWR, that uses some javascript as well. DWR does use the character $ for some of it's functions. The solution was to use the folowing code when using JQuery: jQuery.noConflict(); jQuery(document).ready(function($){ $('#campai

[jQuery] Re: Datepicker and Jquery updating the value of pulldown menu

2009-09-18 Thread Sean McKenna
"updating the values of the pulldown menu ounce the user have choosen a date from the Jquery datepicker" Something like this should work in the datepicker include onSelect: updateLinked then (change as needed for your pull down ids) // Update three select controls to match a date picker s

[jQuery] Re: Datepicker issue

2009-08-26 Thread Cesar Sanz
Hi, Yo can always set the textfield readonly to avoid this. - Original Message - From: "MorningZ" To: "jQuery (English)" Sent: Wednesday, August 26, 2009 7:29 AM Subject: [jQuery] Re: Datepicker issue "to me it seems wierd or inconsistant that the date

[jQuery] Re: Datepicker issue

2009-08-26 Thread MorningZ
"to me it seems wierd or inconsistant that the datepicker won't allow you to pick a date beyond the maxDate, but you can enter it manually and nothing happens" Hence it's "date picker" and not "date enter-er", it does it's job, let's the use *pick* a date from a calendar On Aug 26, 7:55 am, sak

[jQuery] Re: Datepicker issue

2009-08-26 Thread sak
Yeah, I was wanting to avoid the need to write a function..or freezing the textbox.to me it seems wierd or inconsistant that the datepicker won't allow you to pick a date beyond the maxDate, but you can enter it manually and nothing happens (it should revert back to the maxDate).. any

[jQuery] Re: Datepicker issue

2009-08-26 Thread rupak mandal
hi, you can try this $("#datepicker").change(function() { var date1=$("#datepicker").val(); var myday = new Date(date1); var today= new Date(); var one_day=1000*60*60*24; chan_date=Math.ceil((myday.getTime()-today.getTime())/(one_day)); var m

[jQuery] Re: datepicker

2009-07-22 Thread gil
Can you provide sample code or a link? Thanks On 22 jul, 00:51, acatejr wrote: > I am using the jQuery datepicker.  When the user selects an item in a > drop down list box the selectable dates in the calender in the > datepicker get updated with all selectable dates associated with the > select

[jQuery] Re: $("#datepicker").datepicker is not a function

2009-07-03 Thread Cesar Sanz
Make jure your datepicke script is loaded first in your browser.. You can use firebug to see if the script is laoded correctly - Original Message - From: Charlie To: jquery-en@googlegroups.com Sent: Thursday, July 02, 2009 12:00 PM Subject: [jQuery] Re: $("#datep

[jQuery] Re: $("#datepicker").datepicker is not a function

2009-07-02 Thread Charlie
if a jQuery function throws "is not a function" error it's because that function is not available when you call it. Available means browser hasn't loaded it, so either you don't have script files in correct order or a path to file problem jQueryUI site explains the order, path easy to check i

[jQuery] Re: datepicker UI select multiple date

2009-06-24 Thread Ca-Phun Ung
Hi, Datepicker does not currently support multiple selected days. If you're looking to load event dates into datepicker you could take a look at beforeShowDay event. Here's an example: http://jsbin.com/idubu On Wed, Jun 24, 2009 at 3:03 PM, bumbar wrote: > > > I use datepicker UI. > > > Is it

[jQuery] Re: Datepicker covering textbox

2009-06-18 Thread michael
Here are some screenshots: http://hallowdmachine.com/images/datepicker_closed.jpg http://hallowdmachine.com/images/datepicker_open.jpg On Jun 18, 10:31 am, michael wrote: > (Cross-posted from the jQuery UI group, as my post is not showing up > over there. Hope it shows here.) > > Hello all, > >

[jQuery] Re: datepicker highlight individual days

2009-04-28 Thread Code Daemon
I'm having the same problem. It makes sense to hilite individual days because those days might be important. On Apr 7, 7:04 am, MorningZ wrote: > That doesn't make any sense > > the control by default is looking for the user to choose one > individual day > > On Apr 7, 8:15 am, Danny wrote: >

[jQuery] Re: datepicker

2009-04-15 Thread HISSAM
I did it By using the Date class function getEndDate() { var s=document.getElementById("arrivalDate").value; alert(s); if(s=="") { alert("Please select start date first"); } else{ var d=new Date(s); $("#depart")

[jQuery] Re: datepicker highlight individual days

2009-04-07 Thread MorningZ
That doesn't make any sense the control by default is looking for the user to choose one individual day On Apr 7, 8:15 am, Danny wrote: > Hi, > > Is there a way to highlight or enable for selection individual days > ( not a range of days )  in a datepicker? > > Thanks in advance, > Danny

[jQuery] Re: Datepicker

2009-02-26 Thread Leroy
Thanks heaps for all your help! That works perfectly! On Feb 27, 9:34 am, MorningZ wrote: > to note, that CSS was for an older version of thedatepicker > >     img.ui-datepicker-trigger { >          cursor: pointer; >     } > > works on the later versions (i have ui.1.6.rc2.datepickerand that CS

[jQuery] Re: Datepicker

2009-02-26 Thread MorningZ
to note, that CSS was for an older version of the datepicker img.ui-datepicker-trigger { cursor: pointer; } works on the later versions (i have ui.1.6.rc2.datepicker and that CSS works) On Feb 26, 5:31 pm, MorningZ wrote: > in the page's CSS (nothing to do with the datpicker

[jQuery] Re: Datepicker

2009-02-26 Thread MorningZ
in the page's CSS (nothing to do with the datpicker declaration).. easy as that On Feb 26, 5:22 pm, Leroy wrote: > Thanks for the reply... however i am just wondering where do i put the > CSS?  My code looks something like this: > $(document).ready(function() { >         $('#dp_date).datepic

[jQuery] Re: Datepicker

2009-02-26 Thread Leroy
Thanks for the reply... however i am just wondering where do i put the CSS? My code looks something like this: $(document).ready(function() { $('#dp_date).datepicker({speed: 'fast', showOn: 'both', showAnim: 'show', closeAtTop: false,

[jQuery] Re: Datepicker

2009-02-26 Thread MorningZ
simply apply some CSS to it span.datepicker_wrap img { cursor: pointer; } On Feb 26, 1:24 am, Leroy wrote: > Hi all, > > I am using the jquery datepicker with the 'buttonImage'. What I am > trying to do is just when the mouse is over the image, to change it to > a hand rather than a pointe

[jQuery] Re: Datepicker Plugin Quesiton

2009-02-16 Thread Tze Yang Ng
I guess it is just a habit on my part, acessing the online docs can be slow at times from my china office. == On Mon, Feb 16, 2009 at 5:15 PM, Richard D. Worth wrote: > > On Sun, Feb 15, 2009 at 9:21 PM, Tze Yang Ng wrote: >> >> minDate: new Date() >> >> When i use the datepicker, i have the h

[jQuery] Re: Datepicker Plugin Quesiton

2009-02-16 Thread Richard D. Worth
On Sun, Feb 15, 2009 at 9:21 PM, Tze Yang Ng wrote: > > minDate: new Date() > > When i use the datepicker, i have the habit of digging through > /ui/ui.datepicker.js to find out the options supported. The Datepicker is documented quite well: Stable (1.5.3): http://docs.jquery.com/UI/API/1.5.3/

[jQuery] Re: Datepicker Plugin Quesiton

2009-02-15 Thread Tze Yang Ng
minDate: new Date() When i use the datepicker, i have the habit of digging through /ui/ui.datepicker.js to find out the options supported. == On Sat, Feb 14, 2009 at 10:21 PM, Hellofrom wrote: > Hello every one > Can some one help me setting the datepicker plugin with the following > options >

[jQuery] Re: Datepicker Plugin Quesiton

2009-02-15 Thread system div
dateFormat: 'y-mm-dd', 09-02-16 dateFormat: 'yy-mm-dd', 2009-02-16 On Sat, Feb 14, 2009 at 10:21 PM, Hellofrom wrote: > Hello every one > Can some one help me setting the datepicker plugin with the following > options > min date =today > date format =-mm-dd > > thanks > >

[jQuery] Re: Datepicker UI Opening at Random / Unexpected Locations

2009-02-07 Thread jQuery Lover
Yeap, a test page would help to find the bug... One more question. Are you positioning your elements in CSS using relative/absolute ? Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sat, Feb 7, 2009 at 8:38 AM, Ca-Phun Ung wrote: > Hi, > > Which version of UI are you

[jQuery] Re: Datepicker UI Opening at Random / Unexpected Locations

2009-02-06 Thread Ca-Phun Ung
Hi, Which version of UI are you using? We recently fixed a similar bug which was rolled into 1.6rc6. For details of the bug see this ticket: http://dev.jqueryui.com/ticket/3863 Finally, if you're using the latest rc it would be a great help if you could upload a minimal test page somewhere. Tha

[jQuery] Re: DatePicker not working--how to debug?

2009-02-03 Thread brian
On Tue, Feb 3, 2009 at 1:27 AM, brian wrote: > On Mon, Feb 2, 2009 at 11:55 PM, Richard D. Worth wrote: >> This worked for me no problem >> >> http://paste.pocoo.org/show/102539/ >> >> - Richard > > Thanks for following up. This is too strange. Each test I made, I > checked that everything was l

[jQuery] Re: DatePicker not working--how to debug?

2009-02-02 Thread brian
On Mon, Feb 2, 2009 at 11:55 PM, Richard D. Worth wrote: > This worked for me no problem > > http://paste.pocoo.org/show/102539/ > > - Richard Thanks for following up. This is too strange. Each test I made, I checked that everything was loaded (no bad filenames) and jquery was there. I'll open t

[jQuery] Re: DatePicker not working--how to debug?

2009-02-02 Thread Richard D. Worth
This worked for me no problem http://paste.pocoo.org/show/102539/ - Richard On Mon, Feb 2, 2009 at 11:22 PM, brian wrote: > > Something's wrong here. When I use the following files (from the dev > bundle) it does not work: > > ui.core.min.js > ui.datepicker.min.js > > When I substitute the "pe

[jQuery] Re: DatePicker not working--how to debug?

2009-02-02 Thread brian
Something's wrong here. When I use the following files (from the dev bundle) it does not work: ui.core.min.js ui.datepicker.min.js When I substitute the "personaized" file (core, datepicker, tabs) it works jquery-ui-personalized-1.6rc6.min.js When, on a hunch, I went back to the individual fil

[jQuery] Re: DatePicker not working--how to debug?

2009-02-02 Thread brian
On Mon, Feb 2, 2009 at 10:45 PM, Richard D. Worth wrote: > Sounds like you'd be happy with the development bundle (see jqueryui.com top > right for link). It's one zip file with all individual files named like > > ui.core.js > ui.accordion.js > ui.datepicker.js > etc. > > You simply include the f

[jQuery] Re: DatePicker not working--how to debug?

2009-02-02 Thread Richard D. Worth
Sounds like you'd be happy with the development bundle (see jqueryui.com top right for link). It's one zip file with all individual files named like ui.core.js ui.accordion.js ui.datepicker.js etc. You simply include the files you need. There are even minified versions of each individual file. -

[jQuery] Re: DatePicker not working--how to debug?

2009-02-02 Thread brian
On Mon, Feb 2, 2009 at 9:02 PM, Richard D. Worth wrote: > > On Mon, Feb 2, 2009 at 1:23 PM, brian wrote: >> >> I'm struggling to figure out why DatePicker is not working for me. I'm >> including the following files (and they're all loading fine). Is there >> yet another file required? >> >> ui.c

[jQuery] Re: DatePicker not working--how to debug?

2009-02-02 Thread Richard D. Worth
On Mon, Feb 2, 2009 at 1:23 PM, brian wrote: > > I'm struggling to figure out why DatePicker is not working for me. I'm > including the following files (and they're all loading fine). Is there > yet another file required? > > ui.core.css > ui.theme.css > ui.datepicker.css > > jquery-1.3.1.min.js

[jQuery] Re: DatePicker not working--how to debug?

2009-02-02 Thread brian
Checked all that. And I tried with an ID. Nothing, no joy. This is with FF 2.0.0.14, btw. I'll check it in 3.x On Mon, Feb 2, 2009 at 4:08 PM, James wrote: > > Are your UI image and language (i18n) files somewhere in there also? > I'm not sure if they're required, but put them in. > > Do you ha

[jQuery] Re: DatePicker not working--how to debug?

2009-02-02 Thread James
Are your UI image and language (i18n) files somewhere in there also? I'm not sure if they're required, but put them in. Do you have more than one elements with the DatePicker class? Maybe try using $("#foo").datepicker(); to see if it works. On Feb 2, 8:23 am, brian wrote: > I'm struggling to f

[jQuery] Re: [datepicker] Offset problem

2009-01-29 Thread Schalk Neethling
Thanks Richard, I will check the version. I might be using a to new version for my jQuery version. Richard D. Worth wrote: Which versions of jQuery and jQuery UI? This sounds like an issue that was fixed recently. Also, ensure you're using compatible versions jQuery UI 1.5.3 with jQuery 1.2.6

[jQuery] Re: [datepicker] Offset problem

2009-01-29 Thread Richard D. Worth
Which versions of jQuery and jQuery UI? This sounds like an issue that was fixed recently. Also, ensure you're using compatible versions jQuery UI 1.5.3 with jQuery 1.2.6 or jQuery UI 1.6rc5+ with jQuery 1.3+ Thanks. - Richard On Fri, Jan 30, 2009 at 12:07 AM, Schalk Neethling wrote: > Hi the

[jQuery] Re: datepicker not showing up

2009-01-22 Thread Ca-Phun Ung
jQuery UI 1.5.x is not be supported with jQuery 1.3. Also it looks like you're using ThemeRoller v2 with jQuery UI 1.5.3 - Use the link below the ThemeRoller generator at http://ui.jquery.com/themerollerto download themes for jQuery UI 1.5.x On Wed, Jan 21, 2009 at 3:53 AM, Ryan W. wrote: > > I

[jQuery] Re: datepicker css

2009-01-22 Thread Ca-Phun Ung
Hi, Yes, the theme generated by Themeroller does give you all component CSS files but in your case you only need the following 3: ui.core.css ui.theme.css ui.datepicker.css Note: the order of the css files is important Thanks. On Thu, Jan 22, 2009 at 10:32 PM, Dan B. wrote: > > update: if I

[jQuery] Re: datepicker css

2009-01-22 Thread Dan B.
update: if I use the 300 kilobyte js generated by the theme roller that basically includes all UI elements the styling is appearing fine. So I just need a themed download for the datepicker, not every UI component ever made. DAn On Jan 22, 3:12 pm, "Dan B." wrote: > For some reason I am dying

[jQuery] Re: datepicker is not a function

2009-01-15 Thread Richard D. Worth
Ah, now that I look at your code again, you've got .datepicker(options) in one place, that looks right. Below you have .datepick("getDate") That should be .datepicker("getDate") - Richard On Thu, Jan 15, 2009 at 4:24 AM, divsystem wrote: > > $('.Datepicker1').datepicker({beforeShow: custom

[jQuery] Re: datepicker is not a function

2009-01-15 Thread Richard D. Worth
Which javascript files have you included? And have you verified (perhaps using Firebug) that the paths are valid and they are being loaded? Also, the order is significant. They should be loaded in this order jquery.js ui.core.js ui.datepicker.js - Richard On Thu, Jan 15, 2009 at 4:24 AM, divsyst

[jQuery] Re: datepicker and setdate

2009-01-14 Thread graphic...@googlemail.com
Yes, you are so right ! Just setting the textbox value is enough ! Many thanks ! On 14 jan, 16:23, MorningZ wrote: > Hmm... well.. > > you have this declared > >     dateFormat: "dd MM yy" > > and you say you want to set it to > >     10 Mar 2008 > > The format is looking for a 2-digit year, yo

[jQuery] Re: datepicker and setdate

2009-01-14 Thread MorningZ
Hmm... well.. you have this declared dateFormat: "dd MM yy" and you say you want to set it to 10 Mar 2008 The format is looking for a 2-digit year, your value is a 4 digit year, i'd say that would be an issue and could be the cause of your unexpected result also, what about simply se

[jQuery] Re: datepicker and setdate

2009-01-14 Thread graphic...@googlemail.com
Sorry the error was in my post but not in my code. So yes it should be $("#start").datepicker("setDate", "10 Mar 2008"); but that gives me non-sense date as mentioned in my first post. Any idea ? On 14 jan, 14:31, MorningZ wrote: > Well, that second selector is wrong to start with... shouldn

[jQuery] Re: datepicker and setdate

2009-01-14 Thread MorningZ
Well, that second selector is wrong to start with... shouldn't it be $ ("#start") and not $(start) ? On Jan 14, 9:24 am, "graphic...@googlemail.com" wrote: > Hi, > > This setDate is driving me mad !  I can't set the date of the controls > programatically. > >   //create range datepickers >   $("

[jQuery] Re: datepicker and highlight current day

2008-12-08 Thread Richard D. Worth
If you mean today's date, the css class is ui-datepicker-today If you mean the current selected date, the css class is ui-datepicker-current-day So to highlight either of those, you can simply use css. Here's how the default UI datepicker theme does so: .ui-datepicker-today { background: #

[jQuery] Re: datePicker with rjs (on rails)

2008-10-29 Thread macsig
I GIVE UP. after a whole day trying to solve it (and sevral posts around the web without answer) I will implement it without jquery and ajax stuff. Have a good 1! On Oct 27, 12:41 pm, macsig <[EMAIL PROTECTED]> wrote: > UP, > Please, any idea about that ? > > THANK YOU > > On Oct 26, 6:38 p

[jQuery] Re: datePicker with rjs (on rails)

2008-10-27 Thread macsig
UP, Please, any idea about that ? THANK YOU On Oct 26, 6:38 pm, macsig <[EMAIL PROTECTED]> wrote: > Hello folks, > I'm struggling with datePicker when I need to load it within a RJS > file. > Basically I have a drop-down menu and according to the selected value > I display some form fields (rend

[jQuery] Re: datepicker plugin: question regarding date range

2008-09-24 Thread pedalpete
I've just started using the javascript .addMonth(1) function for adding a month to the selected date. It is working flawlessly so far. I took a look for a subtractDay() function, but haven't found much. Apparently you can use a php type date function in javascript [code] d = new Date(d.getYear(),

[jQuery] Re: datepicker setDate

2008-06-11 Thread mark
On Mon, Jun 9, 2008 at 4:20 AM, andrea varnier <[EMAIL PROTECTED]> wrote: > > On 8 Giu, 05:36, mark <[EMAIL PROTECTED]> wrote: >> but if i do this >> >> $('#date').datepicker("setDate", new Date ( "January 6, 1972" )); > > try adding curly braces, to define an object, like this: > > $('#date').da

[jQuery] Re: datepicker setDate

2008-06-09 Thread andrea varnier
On 8 Giu, 05:36, mark <[EMAIL PROTECTED]> wrote: > but if i do this > > $('#date').datepicker("setDate", new Date ( "January 6, 1972" )); try adding curly braces, to define an object, like this: $('#date').datepicker({defaultDate: new Date ( "January 6, 1972" )});

[jQuery] Re: datepicker select to update a div, and strange datepicker css issue

2008-05-28 Thread pedalpete
that's great kevin, Thank you. i didn't realize the selectedDate wasn't a string, i thought if i put var x=xyz, that makes it a string. I'm still fairly new to programming and learning lots. Thanks for your help, I hope I understood that correctly. Pete

[jQuery] Re: datepicker select to update a div, and strange datepicker css issue

2008-05-28 Thread Kelvin Luck
Hi, It looks like you are converting the Date object to a string by adding a space to the start of it. Instead you should use the methods available on the Date object itself. So something like this should work: $('.holdDate').html(selectedDate.asString()); (the asString method is defined in

[jQuery] Re: datepicker select to update a div, and strange datepicker css issue

2008-05-27 Thread pedalpete
I've made some progress with this, but my code is looking really strange. To rehash, I am trying to get the datepicker to update a span, not an input. But i was getting an error. Now I can update the span, but I can't split the date variable before I update (it gives blank time and gmt details th

[jQuery] Re: Datepicker Range

2008-04-15 Thread Daniel Murker
So I have two text fields in a form I've created which will constitute a date range. I want to use the datepicker("change", settings) function to change the min or max date of the field when a date is selected. Example: User selects: "4/10/2008" in 'from' datepicker. onSelect should then ch

[jQuery] Re: datepicker

2008-03-08 Thread Kelvin Luck
Hi Ahmad, Which datepicker? I can only answer for my one ( http://kelvinluck.com/assets/jquery/datePicker/v2/demo/ ) in which case both of your questions are possible: Is there a way to make the datepicker select future dates? This is the default behaviour. You can customise it by pas

[jQuery] Re: datepicker

2008-03-07 Thread MorningZ
For the first: As long as you do not explicitly set the "maxDate" option (http:// docs.jquery.com/UI/Datepicker/datepicker#options), there isn't any problem selecting dates in the future For the second: I'm no expert on the datepicker and all it's inner workings and that, but if i had to do what

[jQuery] Re: Datepicker showon link click

2008-01-31 Thread pedalpete
Hi Roman, I thought clicking a link with datepicker was the default. I've got it working with this [ code] $('.date-pick').datePicker({clickInput:true}); [/code] class="date-pick is assigned to an input field that I have hidden with the css, so only the default text is shown. The default text

[jQuery] Re: Datepicker and autocomplete not playing nice together?

2007-12-06 Thread Dan M
Shawn, What is the order in which you're importing the js files? Dan On Dec 3, 7:12 pm, Shawn <[EMAIL PROTECTED]> wrote: > Sorry, maybe this was misleading. I have a form that looks something > like so: > > Employee: > > Start Date: ___ # > > The employee

[jQuery] Re: Datepicker and autocomplete not playing nice together?

2007-12-03 Thread Shawn
Sorry, maybe this was misleading. I have a form that looks something like so: Employee: Start Date: ___ # The employee field would be the autocomplete field, and the start date would have the date picker. With the dimensions plugin, the calendar will s

[jQuery] Re: Datepicker and autocomplete not playing nice together?

2007-12-03 Thread Dan M
Shawn, Are you able to "turn off" the auto complete for your date picker fields? I couldn't see it being very useful there anyway... Dan On Dec 3, 12:22 am, Shawn <[EMAIL PROTECTED]> wrote: > I have a couple of forms that require both an autocomplete field, and a > date picker field. I'm using

[jQuery] Re: Datepicker bug in latest Opera

2007-10-25 Thread Kelvin Luck
Hi Klaus, Thanks for the detailed report and fix! I've rolled this into the date picker and made a new release (2.1.1) with the fixed code: http://jquery.com/plugins/project/datePicker Thanks again, Kelvin :) Klaus Hartl wrote: Hi, I just came across a hard to find bug in Opera 9.23 (Win

[jQuery] Re: datepicker and mark a day

2007-09-17 Thread Kelvin Luck
Hi, You will need to use a custom cell renderer. An example of doing this can be seen here: http://kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerCustomCellRender.html As you can see, the example marks weekends with a different CSS class and makes them disabled. Of course you can

[jQuery] Re: Datepicker. Hide dates from next/prev month

2007-08-03 Thread Brian Miller
CSS: table.jCalendar td.other-month { visibility: hidden; } - Brian > Hi all. > > Right now the default behaviour of Kevin's datepicker, > http://kelvinluck.com/assets/jquery/datePicker/v2/demo/, is to show the > dates from the previous/next month as well as the dates from the current

[jQuery] Re: datePicker: How to allow choosing dates in the past?

2007-08-02 Thread Marshall Salinger
Thanks Kelvin, That worked perfectly. I guess I should have tried it before I posted to list! I assumed that it would set the start date of the calendar to that date rather than allow you to select dates in the past. -Marshall Kelvin Luck wrote: Hi, Very short answer because I'm in a rus

[jQuery] Re: datePicker: How to allow choosing dates in the past?

2007-08-01 Thread Kelvin Luck
Hi, Very short answer because I'm in a rush... But have you looked at the startDate parameter to datePicker? It's covered in the documentation [1] although I there isn't a simple example up yet (I'll add it when I have a minute or two free). Actually, stop press!! There is an error in the do

[jQuery] Re: datePicker plugin inline

2007-07-26 Thread Larry Garfield
Thanks Rob. It looks promising. I'll give it a shot tomorrow at work. I'm not set on it being jQuery, just on it being not as buggy as the YUI thing is. :-/ On Thursday 26 July 2007, Rob Desbois wrote: > Larry, > > Try the dynarch calendar at http://www.dynarch.com/projects/calendar/ > It's n

[jQuery] Re: datePicker plugin inline

2007-07-26 Thread Larry Garfield
I looked at that yesterday. Unfortunately it's CC licensed non-commercial, and this is for a commercial project. (Custom app for a client.) On Thursday 26 July 2007, bbuchs wrote: > Give this a shot: > > http://tedserbinski.com/jcalendar/index.html > > Inline calendar that ties to 3 select ele

[jQuery] Re: datePicker plugin inline

2007-07-26 Thread bbuchs
Give this a shot: http://tedserbinski.com/jcalendar/index.html Inline calendar that ties to 3 select elements (m/d/y), with paging. On Jul 26, 10:45 am, Kelvin Luck <[EMAIL PROTECTED]> wrote: > Hi, > > I'm afraid I haven't got any alternative suggestions... > > If you only need one calendar

[jQuery] Re: datePicker plugin inline

2007-07-26 Thread Kelvin Luck
Hi, I'm afraid I haven't got any alternative suggestions... If you only need one calendar on the page and don't need a popup one as well you could implement a temporary dodgy hack... You could look for the calls to close the calendar and just comment them out... It's not pretty but could get

[jQuery] Re: datePicker plugin inline

2007-07-26 Thread Rob Desbois
Larry, Try the dynarch calendar at http://www.dynarch.com/projects/calendar/ It's not jQuery but does the job and can most likely be ported to jQuery if desired. --rob On 7/26/07, Larry Garfield <[EMAIL PROTECTED]> wrote: Thanks, Kelvin. (And sorry about misspelling your name. ) I was af

[jQuery] Re: datePicker plugin inline

2007-07-26 Thread Larry Garfield
Thanks, Kelvin. (And sorry about misspelling your name. ) I was afraid you were going to say that. Unfortunately my timeframe allowed for this project is measured in hours, not weeks, so I doubt I'd even have time to try and figure out how to do it myself. Is there a method that you think

[jQuery] Re: datePicker plugin inline

2007-07-26 Thread Kelvin Luck
Hi, I'm afraid that it is currently exactly as you describe. A date picker calendar (with the paging etc) only exists as a popup and if you use renderCalendar then you don't get paging or anything. The ability to use a date picker not in a popup is one of the two additions I wanted to make

[jQuery] Re: DatePicker | adding multiple selectedDates into input field

2007-07-20 Thread Kelvin Luck
Hi, Try something like this: var datesString = ''; for (var i=0; i I have fixed the issue Solution At this line: console.log(selectedDates); Just add: console.log(selectedDates); (this).val(selectedDates); This will add the array of multiple dates back into text field. Ne

[jQuery] Re: DatePicker | adding multiple selectedDates into input field

2007-07-20 Thread newbie
Figured it out! - At this part - console.log(selectedDates); - Just add... - console.log(selectedDates); $(this).val(selectedDates); However the only remaining issue is now I get very long dates. I get this: Fri J

[jQuery] Re: DatePicker | adding multiple selectedDates into input field

2007-07-20 Thread newbie
I have fixed the issue Solution At this line: console.log(selectedDates); Just add: console.log(selectedDates); (this).val(selectedDates); This will add the array of multiple dates back into text field. New problem --- How can I get rid of the rather lon

[jQuery] Re: datePicker scoping question

2007-07-02 Thread Robert O'Rourke
Robert O'Rourke wrote: > Glad to have the new version of jQuery out, the speed improvements are > really nice. > I'm trying it out with the datePicker plugin and it seems fine. > > I'm having trouble getting the datePicker to work with the linked select > elements example. I'm trying to make it lo

[jQuery] Re: datePicker v2 beta

2007-06-07 Thread Kelvin Luck
Rob Desbois wrote: I disagree; in the interest of keeping the plugin small, to do this outside the class is equally minimal effort and I don't think the plugin should accept every possible representation. If you always use Date where String is required, you can overload and wrap the function t

[jQuery] Re: datePicker v2 beta

2007-06-06 Thread Rob Desbois
I disagree; in the interest of keeping the plugin small, to do this outside the class is equally minimal effort and I don't think the plugin should accept every possible representation. If you always use Date where String is required, you can overload and wrap the function to perform the conversio

[jQuery] Re: datePicker v2 beta

2007-06-06 Thread Brian Miller
Just my opinion: both Date and String should be supported. It's probably only two lines of code to check for type, and cast to the other type if necessary. - Brian >>> There's a bug or documentation error with dpSetSelected() [revision >>> #1993] : it's documented as taking a string, but the c

[jQuery] Re: datePicker v2 beta

2007-06-06 Thread Rob Desbois
A tricky one...or perhaps not. My feeling is that the datePicker is there to replace not enhance the input field. I'm not overly pleased with the blur() method as it breaks tabbing between fields. I didn't know that autocomplete could be suppressed (thank you!), but I think that would be the most

[jQuery] Re: datePicker v2 beta

2007-06-05 Thread Kelvin Luck
Rob Desbois wrote: I've had an issue in Firefox2.0 using the plugin with the 'clickInput' option turned on. When the input field has the focus, clicking on it to display the datePicker will work, but over the top of that will be Firefox's drop-down box showing previous inputs to that field.

[jQuery] Re: datePicker v2 beta

2007-06-05 Thread Kelvin Luck
There's a bug or documentation error with dpSetSelected() [revision #1993] : it's documented as taking a string, but the code for it requires a Date (due to using .getMonth(), .getFullYear() and .getTime()). To fix this problem I added the line d = new Date(d); to the start of dpSetSelect

[jQuery] Re: datePicker v2 beta

2007-06-04 Thread Rob Desbois
I've had an issue in Firefox2.0 using the plugin with the 'clickInput' option turned on. When the input field has the focus, clicking on it to display the datePicker will work, but over the top of that will be Firefox's drop-down box showing previous inputs to that field. The solution I've used

[jQuery] Re: datePicker calendar icon dropping below input

2007-06-01 Thread Chris W. Parker
On Friday, June 01, 2007 3:44 PM Gee Starr <> said: > Chris, I think my issue is slightly different: I am trying to get > label text to show on the same line as the input field and datePicker > button. Ahh... I see. I misunderstood. > Start date name="startDate" class="datePickerField" /> >

[jQuery] Re: datePicker calendar icon dropping below input

2007-06-01 Thread Gee Starr
Chris, I think my issue is slightly different: I am trying to get label text to show on the same line as the input field and datePicker button. E.g., (and hope the markup makes it through here) Start date Displays as Start date [input][button] ...instead of the desired... Start date [input][

[jQuery] Re: datePicker v2 beta

2007-06-01 Thread Chris W. Parker
On Friday, June 01, 2007 1:11 PM gee <> said: > E.g., instead of: > > Start date: [text input] [.png] > > The display appears as: > > Start date: > [text input][.png] > > I gather it has something to do with using a float in the style > declaration for a.dp-choose-date. Before I wade into exp

[jQuery] Re: datePicker v2 beta

2007-06-01 Thread gee
(I clumsily posted this as a new topic yesterday (http:// groups.google.com/group/jquery-en/browse_thread/thread/ b8471b7990296b12?hl=en); I am reposting it here -- hopefully in the correct thread -- with advance apologies for the clutter.) Great work! An issue I have experienced with both the o

[jQuery] Re: datePicker v2 beta

2007-06-01 Thread Rob Desbois
No problem - thanks for the informative answers. Click input is a special case which relates to an input field. When a date is selected the .text property of the input field is updated. So it wouldn't work too well on any other type of element. I guess this semantically makes sense: being user

[jQuery] Re: datePicker v2 beta

2007-06-01 Thread Kelvin Luck
Hello again! Rob Desbois wrote: Also, dpSetPosition() has the wrong first sentence too. Thanks - I'll fix that too. There's a bug or documentation error with dpSetSelected() [revision #1993] : it's documented as taking a string, but the code for it requires a Date (due to using .getMonth

[jQuery] Re: datePicker v2 beta

2007-06-01 Thread Kelvin Luck
Hi, Thanks for your feedback on the date picker... I'll address your points below: Rob Desbois wrote: Well, I've finally taken the plunge and started playing with datePicker. Can I join everyone in thanking you for this excellent plugin. Thanks :) Suggestions for a few changes, mainly o

[jQuery] Re: datePicker v2 beta

2007-06-01 Thread Rob Desbois
Also, dpSetPosition() has the wrong first sentence too. There's a bug or documentation error with dpSetSelected() [revision #1993] : it's documented as taking a string, but the code for it requires a Date (due to using .getMonth(), .getFullYear() and .getTime()). To fix this problem I added the

[jQuery] Re: datePicker v2 beta

2007-06-01 Thread Rob Desbois
Well, I've finally taken the plunge and started playing with datePicker. Can I join everyone in thanking you for this excellent plugin. Suggestions for a few changes, mainly ones which increased the time it took for me to integrate it into a page without hacking the source: == Change the clickIn

[jQuery] Re: datePicker v2: setStartDate() is not a function?

2007-05-21 Thread Chris W. Parker
On Sunday, May 20, 2007 10:00 AM Kelvin Luck <> said: > Since the date picker methods are added to all jQuery methods I > thought it polite to prefix them to avoid naming collisions with > other plugins. > > Ahh - I've just noticed that there was a typo in the documentation > which is maybe why

[jQuery] Re: datePicker v2 beta

2007-05-21 Thread tlphipps
Awesome! The packing and the hovering work great! Thanks for the amazing support. On May 20, 2:17 pm, Kelvin Luck <[EMAIL PROTECTED]> wrote: > Hi, > > I've added support for this into the date > picker:http://dev.jquery.com/changeset/1933#file2 > > As you can see, you can now pass a hoverClass

[jQuery] Re: datePicker v2 beta

2007-05-21 Thread Kelvin Luck
pd wrote: Is there any particular reason why your plugin doesn't have an option for specifying time as well as date? I'd like to use this plugin but need time functionality. Because I'd like to keep the plugin as light weight as possible (it's already bigger than it should ideally be) and p

[jQuery] Re: datePicker v2 beta

2007-05-20 Thread sithram
Hi Kelvin, The evolution is wondelful! It's a great and useful plugin. Thanks for your job! Xavier On Apr 24, 11:54 am, "Kelvin Luck" <[EMAIL PROTECTED]> wrote: > Hi, > > I'd like to announce the beta release of v2 of my datePicker plugin for > jQuery. This release is a complete rewrite which

[jQuery] Re: datePicker v2 beta

2007-05-20 Thread pd
Is there any particular reason why your plugin doesn't have an option for specifying time as well as date? I'd like to use this plugin but need time functionality. On Apr 24, 7:54 pm, "Kelvin Luck" <[EMAIL PROTECTED]> wrote: > Hi, > > I'd like to announce the beta release of v2 of my datePicker

[jQuery] Re: datePicker v2 beta

2007-05-20 Thread Ⓙⓐⓚⓔ
packer wants semis everywhere!!! if (x==1) y= 1; else y =2; But I did get my code packed thanks!!! On 5/20/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote: Well D'oh! I should have tried that!!! On 5/20/07, Kelvin Luck <[EMAIL PROTECTED]> wrote: > > > Ⓙⓐⓚⓔ wrote: > > thanks! I thought semis were j

  1   2   >