TypeError: jQuery(…).selectize is not a function
-
Hi,
if we use wp_enqueue_media() in our own plugin in order to use the WordPress ajax media library, then we get the “selectize is not a function” error, as your script is not loaded. Can you please enqueue the styles and scripts in a way that makes them work with an ajax media library, because currently they are only enqueued on the upload.php page.public static function admin_enqueue_scripts() { global $pagenow; if ( $pagenow == 'upload.php' ) { Groups_UIE::enqueue( 'select' ); } }
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘TypeError: jQuery(…).selectize is not a function’ is closed to new replies.