OperationSelector = function(selectElement) {
this.selectElement = selectElement;
}
OperationSelector.prototype.populateSelectWithData = function(xmlData) {
$(xmlData).find('operation').each(function() {
var operation = $(this);
selectElement.append('<option>' + operation.attr("title") + '</option>');
});
}
How could I access OperationSelector.selectElement in iteration block ?