Instead of $('...').find('input').val(), $('...').iconpicker('getIcon') should give us the selected icon. More 'get' functionality could be added.