[Solved] Cropper: what is the meaning of ‘.selector’?


.selector is a jQuery property which should return the selector used when the object set was created.

var selector = $('#container').selector; //thing would be '#container'

This has been deprecated in jQuery 1.7, I would suggest that the author of the plugin be notified and that they stop using it.

The .selector property was deprecated in jQuery 1.7 and is only maintained to the extent needed for supporting .live() in the jQuery Migrate plugin. It may be removed without notice in a future version.

solved Cropper: what is the meaning of ‘.selector’?