:: Forum >>
Problem integrating calendar with AW
I have the following calendar code:
function calendar2(obj_target) {
....
....
if (!obj_target)
return cal_error("Error calling the calendar: no target control specified");
if (obj_target.value == null)
return cal_error("Error calling the calendar: parameter specified is not valid target control");
that is supposed to be called like this:
var cal1 = new calendar2(document.forms['tstest'].elements['input1']);
as i created an AW.UI.Input to hold the date, what can i pass as a parameter to new calendar2(...)
to not get an error?
Thanks.
Ecil
Thursday, July 6, 2006
You should assign the id with setId() method,
var obj = new AW.UI.Input;
obj.setId("myInput");
...
And the id of the actual input tag will be myInput-box-text (check with FF DOM Inspector)
Alex (ActiveWidgets)
Sunday, July 9, 2006
Can you please elaboarte on "the id of the actual input tag will be myInput-box-text (check with FF DOM Inspector)" where exactly do I look it up?
Thank you
Newbie
Thursday, August 3, 2006
This topic is archived.
Back to support forum
Forum search