I attempted to use the code below, but unfortunately I have not been able to achieve success yet.
var myAjax = new Ajax.Request(
url,
{
method: 'post',
onException: function (xhr, e)
{
alert('An exception occurred: ' + e);
},
onComplete: function (xhr)
{
var myHtml = xhr.responseText;
// alert(myHtml);
var myContent = $(myHtml).select("div#product-options-wrapper");
alert(myContent);
}
});
If anybody could provide assistance, it would be greatly appreciated. Thank you in advance.