Jquery Ajax Problem
<p><strong>Hi all;</strong></p>

<pre><code>var v_name = null;

$.ajax({
    type: "GET",
    url: "Testpage.aspx",
    data: "name=test",
    dataType: "html",
    success: function(mydata) {


    $.data(document.body, 'v_name', mydata);

}
});

v_name = $.data(document.body, 'OutputGrid');

                alert(v_name);
</code></pre>

<p>first alert undefined before alert work why ?</p>
