After more looking into this... when I add a new ajax subform item that has date fields, the datepicker does not appear if I click in the datefields
when I edit existing ajax subform items, the datepicker *does* appear if I click in the datefields so I think it is a bug? br paul On 14 June, 18:30, storitel <[email protected]> wrote: > I'll investigat further ... it may be something else i'm doing... > > On 13 June, 17:02, Bryan Larsen <[email protected]> wrote: > > > Hmmm, definitely a bug. There's code in Hobo-jQuery to ensure that > > new datepickers get initialized, which is why they work inside of an > > input-many, but it's obviously not getting triggered properly in an > > ajax sub-form (although it's definitely supposed to). > > > Bryan > > > On Jun 13, 3:29 am, storitel <[email protected]> wrote: > > > > I've noticed that the hjq-datepicker doesn't trigger within ajax > > > subforms ... is this a known problem, or is there an extra trick for > > > this? > > > > br > > > Paul > > > > On 9 June, 16:08, Bryan Larsen <[email protected]> wrote: > > > > > In this case, my part of the work was minimal. The thanks need to go > > > > to the JQuery-UI folks who created the datepicker. My work was just > > > > a minimal piece of plumbing. > > > > > However, I think I'll take the opportunity to pimp the other piece of > > > > significant work in Hobo-JQuery. > > > > http://cookbook.hobocentral.net/api_tag_defs/annotate-tag > > > > gives you another mechanism to pass data from Hobo to Javascript. > > > > This mechanism embeds JSON in HTML comments. It works great if you > > > > need to pass large and/or non-string data. > > > > > For reference, in pure Hobo, you can pass data using Hobo's > > > > "css_data", by defining random non-HTML compliant tag attributes, and > > > > via a separate AJAX request. > > > > > Bryan > > > > > > anyway, it's working like a dream now ... thank you for your help > > > > > guys, and a *big* thanks to Bryan for writing the jquery library -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
