Jquery Find if response contains element
<p>How do you find if the response contains the element form </p>

<pre><code>    $.ajax({
        url     : $(this).attr('action'),
        type    : 'POST',
        success : function(response){
            if($(response).find('form').length)
            {
                alert("hii");
            }
        }
    });
</code></pre>

<p>Form could be the topmost element of the response or somewhere in middle </p>
