You might be able to set the input to readonly... readonly="readonly"
On Jan 16, 2:49 pm, bryce4president <[email protected]> wrote: > That kind of stinks about the clear function being taken out. I > really like the design visually of the 1.6 version over the 1.5 > version. I'm working with someone who only wants to allow the user to > pick a date from the datepicker and not allow them to wipe it out once > it has been chosen, simply allow them to clear it. He is trying to > limit them from being able to edit the date manually after it has been > entered. He wants to take away access to the backspace key that way > they can't delete part of the date except they can delete the entire > date. Its really a validation issue. > > Any suggestions other than using 1.5? > Bryce > > On Jan 16, 11:21 am, "Richard D. Worth" <[email protected]> wrote: > > > The documentation is not yet updated for 1.6, since 1.6 is still in release > > candidate. We always maintain documentation for the latest stable release > > (currently 1.5.3). Over the next week as we approach 1.6 final, we'll be > > updating all of the documentation. As far as what has changed between 1.5.3 > > and 1.6rc5, see > > >http://jqueryui.pbwiki.com/DatePickerCalendar > > > under Section 3, subsection 'Changes from 1.5, 1.6rc2 in refactor' > > > - Richard > > > On Fri, Jan 16, 2009 at 11:05 AM, bryce4president > > <[email protected]>wrote: > > > > No, actually I was referring to the example in the Docs... > > > >http://docs.jquery.com/UI/Datepicker > > > > I'm guessing this one uses 1.5 and not the 1.6rc4? > > > > Is this deprecated in 1.6? > > > > Is the clear option no longer available? > > > > Bryce > > > > On Jan 15, 8:33 pm, "Richard D. Worth" <[email protected]> wrote: > > > > Do you mean this demo? > > > > >http://ui.jquery.com/demos/datepicker#buttonbar > > > > > This is accomplished by > > > > > $('#datepicker').datepicker({ > > > > showButtonPanel: true > > > > > }); > > > > > - Richard > > > > > On Thu, Jan 15, 2009 at 5:03 PM, bryce4president <[email protected] > > > >wrote: > > > > > > I have a really simple date picker example. I've tried this with > > > > > jquery's latest and with the 1.3 and I'm using UI 1.6. > > > > > > I just created the UI code on monday so its fresh. > > > > > > The date pickers pop up just fine but there isn't a 'close' or 'clear' > > > > > text like in the demo. > > > > > > $('#date1').datepicker(); > > > > > $('#date2').datepicker({beforeShow: function(){ > > > > > return{ minDate: > > > > > $('#date1').datepicker("getDate")}; > > > > > }, > > > > > changeYear:true, > > > > > yearRange: '-10:+20', > > > > > closeAtTop:true, > > > > > clearText:'Clear' > > > > > }); > > > > > > I realize that the closeAtTop isn't neccessary as it's supposed to > > > > > default to 'true' but it didn't work without it so I thought I would > > > > > put it in but to no avail. > > > > > > Any help would be appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
