Datepicker & jquery validationengine

Discussion in 'JavaScript' started by radagast, Nov 8, 2011.

  1. #1
    Hi

    Please Please help ME :confused:

    When I run the following script to bind the js's for validation my jQuery UI Datepicker will not work/display.

    <script>
    $(document).ready(function() {

    $("#quoteform").validationEngine()

    });
    </script>

    I am using jQuery UI Datepicker (inline mode) with the following:

    ui-lightness/jquery-ui-1.8.16.custom.css
    jquery-ui-1.8.16.custom.min.js
    jquery-1.6.2.min.js

    And the jquery validationengine with the following


    jquery.validationEngine-en.js
    jquery.validationEngine.js
    validationEngine.jquery.css

    All my validations are working 100% but like I said the datepicker will not display.

    Any help or advise will be greatly appreciated.
     
    radagast, Nov 8, 2011 IP
  2. JohnnySchultz

    JohnnySchultz Peon

    Messages:
    277
    Likes Received:
    4
    Best Answers:
    7
    Trophy Points:
    0
    #2
    have you integrated the datepicker to the field?

    like this?
    
    <script type="text/javascript">
    
    $('.datefield').datepicker();
    
    </script>
    
    HTML:
     
    JohnnySchultz, Nov 18, 2011 IP