customization - Perform javascript when an input in Customizer is selectedfocused?

admin2025-06-06  3

Can't figure out how to perform actions with javascript/jquery when a input is focused/selected in the Customizer under a section. I want to modify the content on the site in the preview when the input is focused.

Is this possible?

I know what my custom input is called under my custom section:

$('#_customize-input-checkin\\[title\\]').focus(function() {
        alert( "Handler for .focus() called." );
});

But I cannot manage to make it fire?

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1749153358a316819.html

最新回复(0)