- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi! I have an hybrid app working with app framework and jquery. I'm trying to create a calendar in the jquery normal way, let's said
$("#recoleccionDate").datepicker();
But not calendar is displaying, any error message it's displayed on the console. In a physical device the input have a normal alpha numerical keyboard.
Does anyone have a clue of what could be happen?
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
.datepicker() is a jquery UI element (it's also in jQuery Mobile), but I'm not sure if App Framework has a date picker component.
Are you also attempting to use jQuery UI ? I'm not sure if it is compatible with App Framework. It might be, I've simply never tried.
App Framework does have support for the basic date control:
<input type="date">
Will that suffice?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Chris, thanks a lot for your reply. Yes, I'm also trying to use jQuery UI with not success, no errors but the calendar is not rendering.
The date type is actually working but I need some logic in order to configure the available dates for the calendar, I think this is not possible with HTML only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Victor,
HTML5 input type has min and max attributes to set bounds, for example, to dates.
Perhaps you may combine this with jquery and set the limits dinamicallly as you need.
http://www.w3schools.com/tags/att_input_max.asp
Regards,
Diego
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page