+1  A: 

Try using something like this:

<script type="text/javascript"> 

    $.get 
    ( 
        "JQueryPage.aspx", function(html) { 
            var page = $(html);
            var div = $('#div1', page);
        }  
    ); 

</script> 

you can also look into the $.load function

bendewey
thanks, that's what i want and i will get div content by make :var div = $('#div1', page).html();
Space Cracker
A: 

Jsut wrap the data in a call to jquery and you can use it like you would normally:

$.get
    (
        "JQueryPage.aspx",
        function(data) {
            var dataDom = $(data);
            $(someSelector, dataDom).each(function(){
                alert($(this).html());
            });
          } 
    );
prodigitalson
A: 
  1. If the html markup of JQueryPage.aspx is valid xml, you can use dom parser to get the required div.
  2. It depends - if all you want is to add the retrieved html to the existing DOM using a call to document.appendChild, yes. But if you need to parse and read values from the retrieved data, no, this is not. Pass data as a JSON string or xml.
Amarghosh