How can I execute a Javascript function or not depending on the existance of an element or not?
<p>I have the following:</p>

<pre><code>&lt;li id="abc"&gt;x&lt;/li&gt;
</code></pre>

<p>How can I use JQuery to check to see if this element exists and if it does then execute the following function?</p>

<pre><code>contentControls(ContentButtonAction.Init);
</code></pre>
