gfranko / jquery.selectBoxIt.js

A jQuery Select Box Plugin for Mobile, Tablet, and Desktop
http://www.selectboxit.com
MIT License
852 stars 301 forks source link

Trigger click event on icon not working #345

Open mladimatija opened 9 years ago

mladimatija commented 9 years ago

Basically, what I want to do is this: delete the list option when user clicks on a "delete" icon inside that option when list dropdown is visible. I've tried attaching a click event to the icon element when user click on icon inside list option but event never fires except when I add the data-preventclose="true" atrribute to all the list

Is there way to make this possible, meaning to have the icon visible and "clickable" so I can update the list options (in this instance delete them)?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27402630-trigger-click-event-on-icon-not-working?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github).