I take categories from another page with an ajax call. The problem is, data taken from another page needs to be part of another of an event; tabs plugin.
I get the following error with this code.
$.ajax({
dataType: "xml",
success: function(xml) {
$(xml).find('row').each(function(){
var id = $(this).attr('id');
var CategoryName = $(this).find('CategoryName');
});
}
}).live('click', function() {
$("div.row-title").tabs("div.redpanes > div");
});
CategoryName is a string, not a jQuery object.
find aint going to work!
You’re probably looking for: