Answer the question
In order to leave comments, you need to log in
jQuery Find DOM element from html code. How?
Hello! The question is - I'm loading the html file - at the time of loading it is necessary to isolate only one div from it with all the internals and insert it into the page. The question is how to do
jQuery.Find correctly?
var jQ = jQuery.noConflict();
...
function testo() {
jQ.get('p.htm', function (data) {
var result = jQ(data).find('<div class="extPaymentDiv">').html();
alert (result);
//jQ('#info_uin').html(result);
//jQ("#info_uin").show();
});
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question