I have a Jquery Get Method here. And in this method I reload the html page. So in the function(data) I get a blob of HTML. Can you tell me how I can search it to find a control by its ID. Its mainly used to replace the control.
this works on chrome but fails on ie
x = $("<div>").append(data).find("#ControlID").html();
Any ideas?
Cheers
I have attempted to just run x = $(“”).append(data).html() and even that returns blank. I do have tags on the page I am attempting to load?
Assuming you are trying to find the control inside the HTML returned by jQuery.get: