I have a drop-down which is auto-built by jQuery. It's running fine.
When the user selects a value from the drop-down I would like to know what the value is. Currently I'm using:
var employee= $('#emplist').find('option:selected').text();
but this seems to always return null.
Can someone tell me how to get the drop-down selected text to a variable.
My jQuery version is 1.4.1.