ajax - Second list update based on first list change in Wp customizer -


i have 2 options list first 1 font second list font weights.i want run below php code each time when user change font.so second list update based on first list change.

$blog_font = get_theme_mod( 'body_google_fonts' ); $weights[$blog_font] 

i guessing done using ajax.i have little knowledge ajax tried implement whole night not working.please help.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -