The blank page is a PHP fatal error. You need to either escape the single quotes or change them to double quotes.
$(e.target).prop('checked', false); -> $(e.target).prop("checked", false);
You can enable debugging in WordPress to see the PHP errors by setting WP_DEBUG to true in you wp-config.php file. You can also look in your server/PHP error log. The location of the log depends on your server set up.
Related Posts:
- Adding JavaScript file in Admin Panel
- How to Use JSON With AJAX?
- Using wp_ajax and wp_ajax_nopriv hooks
- Admin wp_ajax hook returning 0
- Edit single attachment on click (WP-admin)
- Adding a character counter to the excerpt metabox
- WP Admin missing icons, numerous JavaScript errors, but only when SCRIPT_DEBUG is false
- Returning content via jQuery without footers on admin pages
- Can’t load a class into WordPress post editor’s content field
- Unable to uncheck checkbox with jquery in wp admin
- Hide metabox dependant on page template chosen
- jQuery is missing in wp-admin
- Exclude some scripts from removing unique scripts from head function
- Bypass nonce value while trashing a post
- wp_dequeue_script not working in my plugin
- How to isolate code to the post edit screen
- How to fix my old theme so it loads jQuery properly
- Admin side jquery is not loaded
- Using Foundation 5 in WordPress Administration Area
- Notice-Updated div moving around unprompted
- Applying jquery to WordPress admin edit.php
- Is there a default way in wordpress to create a overlay in the dashboard?
- Screen Options JavaScript Code
- Which hook to use when adding ajax to viewer-facing side?
- Query String Link With Anchor Tag Not Working on Same Page
- Add JQuery As Code Snippet
- how to do display: block after user login
- Dashboard controls have all stopped working
- Is not using admin-ajax to ajax submissions okay?
- Add a jQuery snippet for sepcific user role
- Move jQuery on *top* of footer
- $_POST empty in using new php file added to theme
- Uncaught TypeError: undefined is not a function (shortcode-box)
- Customize wp-admin form custom fields
- JQuery multiple toggle values
- jQuery .change() Event Bubbling in WP Admin
- jQuery datepicker not showing on admin menu
- Override default options in plugin metaboxes
- jQuery Datepicker displays wrong language until interection with the calendar
- $ not defined using jQuery in WordPress
- Add HTML to custom post type edit page
- Get selected image URL from wp.media.editor.attachment into text input fails. What am I doing wrong?
- Cannot remove error “Conflict with another plugin which overwrites jQuery” from wordpress site
- Auto next upon clicking image without clicking Next button
- admin_post_nopriv_{$action} is secure?
- WordPress not showing jQuery
- How to update WordPress jQuery version?
- wordpress file upload from direct directory not working
- How to properly enqueue jQuery knob on WordPress without conflict?
- JQuery script working locally on desktop, not working on WordPress + Divi
- Version of jQuery In WordPress Failing Security Audit
- What is the earliest Hook a Script can use?
- Get with jQuery the value of an ACF field
- jQuery UI Accordion loading very slow
- Doing Math with Gravity Forms List
- Theme style overrides the plugin style
- How can I get this menu container to be the height of the contents?
- Uncaught TypeError: Cannot read property ‘replace’ of undefined
- How to enable read more by default using jquery
- JQuery is not working after complete load of the page
- wp_deregister_script(‘jquery’) not working
- Gutenberg Gallery Block – How to get the full image url in Javascript/jQuery?
- I want to run Sql Query in script how can i do this
- I am trying to Implement a Code that is Working in my previous page but not working in WordPress for some reason
- Slide toggle Jquery UI
- error: n.imagesLoaded is not a function
- Loop through WordPress API response errors
- WordPress forbidden 403 on delete in production vs local environment
- Show More Show Less – Not Working
- How to use script in WordPress installation?
- Storing current page WP list table HTML data into a PHP variable
- Can’t Target a Widget’s Elements using jQuery
- How to use $ with externally loaded javascript
- Override parent theme deregister
- jQuery Validation plugin and Bootstrap 4 CSS classes
- Theme customisation – how to store javascript externally when it utilises php variables?
- Getting click on item to open closest relevant element (popup) with jQuery
- I am trying to load a Js Dynamic Audio Synth [closed]
- How Do I change Markup of a link in WordPress
- Form validation before submitting
- How can publish my bootstrap created table ( huge amount of data) on my word-press theme?
- My website frequently redirect to a different advertisement URL
- How to make JQuery load on top of head tag before everything
- Add Index to Item in WordPress Gallery
- Trying to add google ad onclick to wordpress and Divi buttons and header link
- jquery Autocomplete
- jQuery for Fade Preload Causes My Site Favicon to Disappear from Tab of Browser
- Bootstrap Carousel Slider – CSS & JS not working
- Uncaught TypeError for wp-auth-check in wpCompressionTest on Posts/Pages
- Homepage loads many unnecessary jquery-ui files
- Show and hide element when URL contains certain section of text?
- Uncaught ReferenceError: jQuery is not defined
- Many buttons not functioning in WordPress dashboard (as admin)
- How to change event in slider
- Javascript when Customizer preview is ready/refreshed?
- Remove button from page if viewed through Customizer
- Defer Parsing of Scripts
- Customizer add query to preview URL
- Ajax call not working anymore
- Lightbox scroll page down on iPhone