Get Value of Div after append function
<p>All,
I'm using the following code:</p>

<pre><code>$(document).on('change','.found_other_vendor',function(){
if(checked){
    alert("it was checked");
    if($("#other_liked_vendors").val()!=""){
        alert("second_one");
        $.post(ajaxurl, { clicked_id: clicked_id, action: action }, function(results){
            $("#other_liked_vendors").append(", " + results);
        });
        $("#other_liked_vendors")
    }else{
        alert("first_one");
        $.post(ajaxurl, { clicked_id: clicked_id, action: action }, function(results){
            $("#other_liked_vendors").html(results);
        });
    }
}
}
</code></pre>

<p>For some reason it always says that my first if statement for:</p>

<pre><code>if($("#other_liked_vendors").val()!="")
</code></pre>

<p>Is always coming up false even after I've put data in my div with the html. Any idea why it isn't recognize a value in my div even after I put data in it? </p>

<p>Thanks!</p>
