Wow, I got it! It turns out that the calendar relies on having a
hidden field in the div where i add the calendar.
Once you explained what exactly
'(\'cds_placeholder_105hd1\').previous()' was doing I just set it back
to $('date_area') which I had tried before, but then I added the
hidden input fi
Hi,
> Well, I'm inserting it into a div node so it knows where to be layed
> out.
Rushing out the door, but:
Where a script tag is in the page only matters during initial page
load, and then only 1) in terms of the order in which the scripts in
the various tags get executed, and/or 2) if the scr
Well, I'm inserting it into a div node so it knows where to be layed
out. Basically I have:
document.observe('dom:loaded', function() {
loader();
});
So if loader() just consists of what you have, it doesn't know where
to be drawn.
So, neither of these attempts result in the calendar bei
Hi,
I think I'm misunderstanding, why do you need to use script to create
a script tag with inline script? Wouldn't it work just to do the work
directly? E.g.:
function loader() {
new CalendarDateSelect(
$('cds_placeholder_105hd1').previous(),
{
embedded: true,