Referencing form items
Earlier I asked how I could manage events on forms.
I think I have solved that because now I can trigger a function based on the event.
My problem now is how can I reference form components from that function.
I use this to manage events:
Ext.EventManager.on("tipo_id1", 'click', handleCargacomboBox_1);
So, I have the function 'handleCargacomboBox_1' where I want to work and alter form elements.
The problem is that I don't know how to do it.
This is the beggining of my function:
var rd = radio.getTarget();
If I output 'rd' with an alert I can get the correct element id but nothing else.