Need help with this .get() script
<p>I am fetching value using jQuery .get() like this</p>

<pre><code>    $.get('clientarea.php', function(data) {
      var Val = $('#abc', data).val();
       if (this.val() == 'YES') {
         // do this
        }
        else {
        // do that
        }
    });
</code></pre>

<p>Using .get() I want to compare value of <code>#abc</code> [whether 'YES' or 'NO'] &amp; then use conditional command to define further action.</p>

<p>But I am doing something wrong with above script. can anybody correct me.</p>

<p><strong>Thanks</strong></p>
