|All requests||>||Datepicker compatible with single pag...||>||Request new recommendation||>||Featured requests||>||No recommendations|
by patrick - 3 years ago (2015-11-26)
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. by Dave Smith - 3 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. by Vivek moyal - 3 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. by Larry Wakeman - 3 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.
Here is a simple class to build your jQuery calendar. Hope this helps.
1. by Manuel Lemos - 3 years ago (2015-12-20) Reply