hi.
http://jsfiddle.net/qhqxtLz8/4/
1. click buttons in following order
‘show affogato’ -> ‘clear’ -> ‘show affogato’
you can see messages in console log
WILL REMOVE ‘Affogato’ : [object Object]
clear
AFTER REMOVE ‘Affogato’ : [object Object]
2. After refresh, click buttons in following order
‘show affogato’ -> ‘del Affogato’ -> ‘show affogato’
then, you can see messages in console log
REMOVE ‘Affogato’ : Affogato
AFTER REMOVE ‘Affogato’ : undefined
‘clear’ is not working in listbox. what’s wrong? thanks.