i use the jquery get to fetch some plain html content form a file. In the file if have several div elements and depending on the page 1 of the has to be shown.
I have a workaround for the moment where i just load all the data en than hide the div's i don't need, but i looking for a better way.
the code for the moment
$.get(urlInfo + "xxxxxxx.html", function(data){
$("#contentArea").append(data );
$("#contentArea > #popupInfo").hide();
})
so is there a way i can just directly select the div i need from the 'data' variable.
tnx