20 Apr 2010 11:53 PM #1
Hi there, extjs ComboBox transform a html select input into hidden field, selected option value will be stored into this hidden field, which is alright, my problem is i need to get selected option text and i have no idea how to get it.
var selectedCountryText = document.forms.country.options[document.forms.country.selectedIndex].text;
since extjs has transformed the select input to hidden field, the property country.options is not valid anymore.
any idea? thanks !
21 Apr 2010 5:40 AM #2
This is what I was trying to say in my previous post where I was unable to get the name/value pair from the ComboBox. This is a really annoying feature of ComboBoxes. Any help on this would be great.