Sep 03, 2014, 10:12 AM
[CLOSED] Set and Get Attribute and Value to a field
Hi
I have a NumberField
Is there property for assign attribute to a field?please give some sample.
I have a NumberField
X.NumberField()
.ID("txtDiscounta")
.HideTrigger(true)
.Name("m")
I want to set an attribute to this,likefoo=bar
and after this I have a script ,where I select fields by name,and loop though with fieldsvar fields = Ext.select('*[name=' m ']');
fields.each(function (field) {
})
I need the Value for the particular Attribute.for each field.Is there property for assign attribute to a field?please give some sample.
Last edited by Daniil; Sep 03, 2014 at 5:15 PM.
Reason: [CLOSED]