ExtJS Hack: How To Get Selected Index of ExtJS ComboBox
By Angsuman Chakraborty, Gaea News NetworkMonday, August 20, 2007
ExtJS ComboBox doesn’t advertise, in its documentation, any way to get the selected index of a ComboBox. Looking at the code I realized we can use the undocumented property selectedIndex. However there is a catch.
ComboBox.reset() doesn’t set the selectedIndex to -1, which it should. So whenever you use selectedIndex, remember to reset it manually after reset(). Otherwise it will return stale value.
September 30, 2009: 1:58 am
hi, i have one asp.net form on which there are two dropdownlist controls are there, if first combo box value selected then automatically second combo box value should come from database and it should be without autopostback thanks in advance, |
prateek |
May 1, 2009: 11:48 am
i want to know how to hack an orkut account? |
Hasmukh