Support

Account

Home Forums General Issues Give "Stylised UI" elements a class Reply To: Give "Stylised UI" elements a class

  • @john: Any idea how to get this working? I load my backend.js with admin_enqueue_scripts and try to add a class to alle the “select2-results__option” li elements – nothing happens.

    $(document).ready(function){
        $("#select2-acf-field_5a314116c7592-results li").addClass('myclasshere');  
    });