The response is generated by an AJAX post
process on change of a select option. I need to get the attributes
and image
objects. This is handled by WooCommerce.
I tried various fetch
and jQuery get
methods without success. I can see the values desired in the browser’s console and would like to learn the method need to get to it.
<code>jQuery(function($) {
$("select#colors").on("change", function() {
// fetch the response objects
});
});
</code>
<code>jQuery(function($) {
$("select#colors").on("change", function() {
// fetch the response objects
});
});
</code>
jQuery(function($) {
$("select#colors").on("change", function() {
// fetch the response objects
});
});
Also used the current page URL.
1