meteora is not defined
Hi everyone,
I've been trying to use some of meteora's widgets, but I keep getting this error:
Meteora is not definedAnyways, if this might help, I attach the code portions that interact with meteora.
var cal = null;
function startup(){
Meteora.uses('Control.Calendar');
new Calendar(
// ELEMENT
// This is the element you want to attach the Calendar to.
// The calendar will be shown when the user clicks the
// specified element.
$('calendar_input'),
// OPTIONS
{
'format': '%Y-%m-%d %H:%i',
'minYear': 2005,
'maxYear': 2010,
'showHour': true,
'showMinute': true,
'showMeridiem': true
}
)
}
that function is called on page load. (body onload).
In the html page i used the right <scr1pt> tags (for some reason the editor wont let me post the html here…).
Please help. I know it must be some little error somewhere in my code.
Thanks in advance..
P.S.: It is a bad thing for such a powerful framework to lack of rich documentation.