I've had to migrate a project from 1.2.5 to 1.4.5 and for some reason the
following function no longer works:
var req = new Request.HTML({
onSuccess: function(responseTree, responseElements, responseHTML) {
var myElement = responseElements.filter('#' + subnavID);
var myContent = myElement.get('html');
textHolder.set('html', myContent);
}
}).get('text/' + togglerID + '.html');
(The variables togglerID and subnavID are just identifiers from an
accordion navigation. The function is designed to grab the html in a div
(among several) from a text file, depending on the navigation element
clicked, and put it into textHolder. In 1.2.5 it worked perfectly, but in
1.4.5 it just displays [object Object]. Any ideas on how to update this
function to work with 1.4.5 would be so appreciated. Thanks!