I was unable to fetch an id from a dropdown list which have on change function.whenever im trying to print the id im getting A VALUE like this:$(this).val())…someone please help.
I was unable to fetch an id from a dropdown list which have on change function.whenever im trying to print the id im getting A VALUE like this:$(this).val())…someone please help.
How does ‘option’ tags look like inside your select?
Hi
use
CHtml::activeId($model, 'attributeOfModelForDropdown')
to get the generated id