I want to load a page content in a variable with .load and then alert it
<p>but below code doesnt work. submit.php: echo "Hi";</p>

<pre><code>&lt;script type="text/javascript"&gt;
$(document).ready(function(){
$("#button").click(function(){
    var input;
    input.load("submit.php");       
    alert(input);
});
});
&lt;/script&gt;
</code></pre>
