Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just use the
changeevent to see ifui.itemis defined:Updated example: http://jsfiddle.net/FL7Nx/
Per your comment below, if you want to dynamically figure out what the default value should return to, you could assign that value to the selected option in the widget’s
_createmethod:Then later on in the
changefunction:Updated example: http://jsfiddle.net/jmdx4/