1. #1
    Ext User
    Join Date
    Mar 2009
    Posts
    21
    Vote Rating
    0
    painter is on a distinguished road

      0  

    Question How can select future day date only not a past date and current date

    How can select future day date only not a past date and current date


    Can any one help me,

    How can select future day date only not a past date and current date from my calendar.

    If try to click past day date and current day date it should not be select.

    I am using DateField

    var deactivatedDt= new Ext.form.DateField({
    format: 'm/d/Y'
    });

    Thanks

  2. #2
    Ext User shibubh's Avatar
    Join Date
    Jul 2007
    Location
    Lamahi,Dang Nepal
    Posts
    449
    Vote Rating
    -2
    shibubh is on a distinguished road

      0  

    Default


    Code:
    var futureDate = new Date().add(Date.DAY, 1);
    xtype:'datefield',
    minValue: futureDate.clearTime()
    Shibu Bhattarai

    Use JavaScript beautifier to beautify you code http://jsbeautifier.org/

    Code Conventions http://javascript.crockford.com/code.html

    ExtJS Core Manual http://extjs.com/products/extcore/manual/

  3. #3
    Ext User
    Join Date
    Mar 2009
    Posts
    21
    Vote Rating
    0
    painter is on a distinguished road

      0  

    Arrow


    Thank you so much, it is working fine

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar