Javascript if/else
<p>Can someone please help me? I am not sure why this is not working. The else portion of the if/else does not execute.</p>

<pre><code>$.post("_inc/signupform.php", formdata,function(data){
    console.log(data);
    if(data.status == 1){
        $('#frontpagevalid').append(data.message).show();
        $("#frontpagenameemail").slideUp();
        $("#frontpageschoolzip").fadeIn();
        $('#userid').attr({value : data.uid});
    } else {
        $('#frontpagevalid').append(data.message).show();
    }
}, "json");
</code></pre>

<p>Thanks in advance!
Joe</p>
