I tried several plugins posted by Weston Ruter for jQuery created controls for the WP Customizer. They work but are different from those created via PHP.
For example, controls created with PHP (customizer.php
) respond normally to code in customize-controls.js
or in customize-previews.js
:
api( 'tzkmx_test_control', function( value ){
value.bind( function( to ) {
var answer = to;
});
});
Controls created with jQuery do not respond to binding! Does anyone know how to bind them?
edit
link?