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 214 forks source link

You do `this.val()`, look at this jsfiddle, hope it helps #140

Closed urpandey88 closed 5 years ago

urpandey88 commented 5 years ago

Dear Sir, Thanks for posting this an amazing post.

Kindly help me to remove the selected image id after unselecting image.

jQuery("select.image-picker").imagepicker({ hide_select: true, selected: function (option) { values = this.val();
alert(values); },

});
Humni commented 5 years ago

Questions like these are better suited for StackOverflow. If you encounter a bug, happy to help if you provide a JS Fiddle with the issue you've encountered.