Check if li exists within ul
<p>i have one Ul called : id =  <code>listProjectRelated</code></p>

<p>on if condition in document ready , i need to add li element,
li element id will be  : <code>liProfessionalMemberships</code></p>

<p>but i want to add , if it's not exist in Ul element, how do i sure that?</p>

<pre><code> if ($('#hdnValueProMembershipSoid').val() != "0") {
                btnAddMore.show();
                $('#listProjectRelated').empty();
                $('#listProjectRelated').append("&lt;li id='liProfessionalMemberships'&gt;Professional Membership&lt;/li&gt;");
            }
</code></pre>

<p>i have almost 6 different li element need to add</p>
