
var data = $.parseHTML(data.responseText);
console.log(data)
var elem = $(data).find('#all-tickets').get(0);
console.log(elem)
I got undefiend, I don't know why. I tried not to parse the html usage string to find my identifier, which is an all-ticket, it does not work either. Any thought?
I also tried $(data).find('#all-tickets').parent();, it doesn't work :(
source
share