PDA

View Full Version : Dynamically added Combobox reference.



AkshayKalbhor
25 Apr 2014, 10:49 PM
Hello,

I need some guidance, Help please for the following scenario.

Scenario:
I am adding a combobox dynamically whenever the user clicks a button.
I cannot give any itemId for the combo as the user can add any number of combo boxes.
and I want to listen to the combo's change event,
How should i get hold of the reference of the dynamically added combo boxes?

Regards
Akshay

jsakalos
25 Apr 2014, 11:17 PM
You can add any custom config option to them, e.g. dynamic:'yes' and then you can use selector 'combo[dynamic]'