rvera / image-picker

Image Picker is a simple jQuery plugin that transforms a select element into a more user friendly graphical interface.
http://rvera.github.com/image-picker
Other
906 stars 216 forks source link

Clarification of the Changed functionality #26

Closed sleyb closed 7 years ago

sleyb commented 10 years ago

Can someone clarify in the examples section of the usage of the changed value?

I would like to be able to click on one of the selected images and have that trigger an ajax request.

rvera commented 10 years ago

Let me see if I can come up with something. Basically you pass a function which will be called when a value changes.

gdvalderrama commented 7 years ago

@sleyb You probably want to use 'clicked' or 'selected' then, rather than 'changed'. The first two refer to changes at the option level, while 'changed' is at the picker level.

rvera commented 7 years ago

Thanks @gdvalderrama for answering this.