var data = $.parseHTML(data.responseText);
console.log(data) // above img is the result of this
var elem = $(data).find('#all-tickets').get(0);
console.log(elem)
I got undefiend, I don't know why. I've tried not to parse html use string to search my id, which is all-tickets, it doesn't work too. Any thought?
I also tried $(data).find('#all-tickets').parent();
, doesn't work :(