mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-06-05 15:08:20 +09:00
1 line
352 B
JavaScript
1 line
352 B
JavaScript
function term_postback(e,t){"use strict";var a={action:"widget_selector",taxonomy:t};jQuery.post(displayfeaturedimagegenesis_ajax_object.ajax_url,a,function(t){var a=jQuery.parseJSON(t),r=jQuery("#"+e),o=r.val();r.empty(),jQuery.each(a,function(e,t){var a=jQuery("<option></option>").attr("value",e).text(t);t==o&&a.attr("selected",!0),r.append(a)})})} |