• Resolved Michael Oswald

    (@malerwhick)


    The used jQuery method live() in autocomplete_solr.js, is deprecated since jQuery 1.7 and was removed in jQuery 1.9.

    autocomplete_solr.js:
    line 8: jQuery(‘.search-field’).live(‘focus’, function () {
    line 38: jQuery(‘.select_opt’).live(‘click’, function () {
    line 75: jQuery(‘.select_field’).live(‘change’, function () {
    line 111: jQuery(‘.paginate’).live(‘click’, function () {

    I suggest the use of method .on() to attach event handlers, as described on the jQuery documentary:
    https://api.jquery.com/live/

    https://www.ads-software.com/plugins/wpsolr-search-engine/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘.live() is deprecated since jQuery 1.9’ is closed to new replies.