"if/else" condition misbehaving inside click event : <p>I am having trauble with if else condition inside a click event of jquery. I have set a variable. i want to show an alert with the message "business", when the variable- dropdown is "Business". Other wise the alert will show "Animales". But the following code doesnt check for the variable. It just triggering the first alert which is "animales" everytime. What I am doing wrong?</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>$('.item').click(function(){
        var dropValue = "Buisness";
        
         if (dropValue = "Animals"){
             alert('animals');
         }else if(dropValue = "Business"){
             alert("business");
         }
 });</code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;

&lt;button class="item"&gt;Click me&lt;/button&gt;</code></pre>
</div>
</div>
</p>
