cezanne
10-11-2005, 03:51 PM
I have been playing with some code I found, but I'm unclear on something, when I type "_root.whatever.text;" what is the "text" refering too? is that the indicator of the type of data? What if I have a calendarpicker or a combobox? is that the same still?
Sorry, but I'm pretty new at this part:
on (release) {
thedata = new loadVariables();
thedata.SpecialistName = _root.SpecialistName.text;
thedata.prName = _root.prName.text;
thedata.org = _root.org.text;
thedata.startDate = _root.startDate.text;
thedata.paDate = _root.paDate.text;
thedata.cType = _root.cType.text;
thedata.dollarAmount = _root.dollarAmount.text;
thedata.onLoad = function(success){
if(success){
_root.success.text = this.remark;
}
}
thedata.sendAndLoad("DBSend.cfm",thedata,"POST");
}
Sorry, but I'm pretty new at this part:
on (release) {
thedata = new loadVariables();
thedata.SpecialistName = _root.SpecialistName.text;
thedata.prName = _root.prName.text;
thedata.org = _root.org.text;
thedata.startDate = _root.startDate.text;
thedata.paDate = _root.paDate.text;
thedata.cType = _root.cType.text;
thedata.dollarAmount = _root.dollarAmount.text;
thedata.onLoad = function(success){
if(success){
_root.success.text = this.remark;
}
}
thedata.sendAndLoad("DBSend.cfm",thedata,"POST");
}