Pulling data from custom plugin settings using PHP shortcode and Javascript
The error you’re seeing in JS is due to those elements not existing, thus the cannot read property value of null You’re JS is using the HTML element output only in the countdownMenu function that is only called when on that specific menu page. You need to output the value, even if in a hidden … Read more