I keep getting an error on this saying its undefined or its null. How do I get the drop down lists value?
So far I have:
this._ddlName = $("[id$=ddlName]"), elm);
var split = this._ddlName.value.split('-')[0];
The top line of code is working since I'm using it elsewhere to do something else. But the bottom one throws the error. Any suggestions?
(). Use like `var split = this._ddlName.value().split('-')[0];'