Hi! This code seems not to work:
$.get(pag, function (data) { alert( $("body", data).html() ); }); Could someone Please help me? The page I am trying to manipulating is the following: ============================================= <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>FAQ</title> <link rel="stylesheet" href="css/all.css" media="all" /> </head> <body> <!-- FAQ --> <div id="faq"> <h1><a name="faq">FAQ</a></h1> <p>Some more text...</p> </div> <!-- Fine FAQ --> </body> </html> =============================================