:: Forum >>
How To Get Value From Input Object ?
You can tell me more .
How the way to get value from object input (AW.UI.Input) ?
And If it can sent value with form ,Please tell me to .
Vincent
Tuesday, March 25, 2008
Alex (ActiveWidgets)
Wednesday, March 26, 2008
And How to setName to AW.UI.Radio ?
Ex
var itemTextArray = ["Male", "Female"];
var itemValueArray = ["M", "F"];
var radio = new AW.UI.Radio;
radio.setId("sex");
radio.setName("sex");
radio.setItemText(itemTextArray);
radio.setItemValue(itemValueArray);
radio.setItemCount(2);
radio.refresh();
I will add any think more ?
Vincent
Wednesday, March 26, 2008
For lists you have to specify what is 'control value' and also make sure the hidden input tag is updated -
radio.onSelectedItemsChanged = function(items){
var index = items[0];
var value = this.getItemValue(index);
this.setControlValue(value);
}
radio.onControlValueChanged = function(){
this.getContent("data").refresh();
}
Alex (ActiveWidgets)
Thursday, March 27, 2008
Thank you
Thursday, March 27, 2008
This topic is archived.
Back to support forum
Forum search