PHP Classes

Datepicker compatible with single page AJAX PHP application: PHP date picker that posts date variable to MySQL

Recommend this page to a friend!
  All requests RSS feed  >  Datepicker compatible with single pag...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Datepicker compatible with single page AJAX PHP application

A request is featured when there is no good recommended package on the site when it is posted. Edit

Picture of patrick by patrick - 8 years ago (2015-11-26)

PHP date picker that posts date variable to MySQL

This request is clear and relevant.
This request is not clear or is not relevant.

+7

I have a single page AJAX PHP application.

When I use the common jQuery date pickers the libraries are not picked by the index page as I call the date from a function in another controller page.

It results in a page within the index page without picking the jQuery libraries as such the date pickers are not rendered.

  • 3 Clarification requests
  • 3. Picture of Dave Smith by Dave Smith - 8 years ago (2015-12-01) Reply

    If I am reading the request correctly, there is a a controller that feeds the index page. Since it results as a page inside a page, am I to assume that there is an inline frame involved? If so, then jquery needs to be included in the frames html head.

    @Manuel... this is a featured request now, and I am not sure what the criteria is. Can you give some guidance on how you see the package operating? Or is it really just going to be a class to make sure jquery loads correctly?

    • 2. Picture of Vivek moyal by Vivek moyal - 8 years ago (2015-11-28) Reply

      Can i see your implementation of the datepicker code. If you can provide the live example than it will be awesome.

      • 1. Picture of Larry Wakeman by Larry Wakeman - 8 years ago (2015-11-27) Reply

        From the JQuery DatePicker documentation, 'The datepicker is tied to a standard form input field. Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay. Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.' You can invoke the DatePicker from the context of the input box.

        Ask clarification

        2 Recommendations

        Jquery Calendar Render: Render a date picker using jQuery calendar plugin

        This recommendation solves the problem.
        This recommendation does not solve the problem.

        +2

        Picture of Anthony Amolochitis by Anthony Amolochitis package author package author Reputation 445 - 8 years ago (2016-01-05) Comment

        Here is a simple class to build your jQuery calendar. Hope this helps.


        db_table:

        This recommendation solves the problem.
        This recommendation does not solve the problem.

        0

        Picture of Vallo Reima by Vallo Reima Reputation 90 - 8 years ago (2015-12-20) Comment

        Use the Date Range Picker written in raw JS.

        • 1 Comment
        • 1. Picture of Manuel Lemos by Manuel Lemos - 8 years ago (2015-12-20) Reply

          Well this is not a PHP package. It would be better if there was a package that would wrap around that JavaScript package.


        Recommend package
        : 
        :