admin管理员组

文章数量:1130349

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?

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?

本文标签: customizationPerform javascript when an input in Customizer is selectedfocused