Why does my <div> content </div> blink? <p>I'm kind of new to the Jquery world so can someone please help me understand my do my <code>$("#dothis").html("hit");</code> make the content only blink rather then simply show? i think that the function is repeating it self and that's what's causing it. </p> <p>html Code:</p> <pre><code> &lt;form&gt; &lt;select class="plcardFirst"&gt; &lt;option selected value=""&gt;-- Choose One --&lt;/option&gt; &lt;option value="1/11"&gt;A&lt;/option&gt; &lt;option value="1"&gt;1&lt;/option&gt; &lt;option value="2"&gt;2&lt;/option&gt; &lt;option value="3"&gt;3&lt;/option&gt; &lt;option value="4"&gt;4&lt;/option&gt; &lt;option value="5"&gt;5&lt;/option&gt; &lt;option value="6"&gt;6&lt;/option&gt; &lt;option value="7"&gt;7&lt;/option&gt; &lt;option value="8"&gt;8&lt;/option&gt; &lt;option value="9"&gt;9&lt;/option&gt; &lt;option value="10"&gt;10&lt;/option&gt; &lt;option value="10"&gt;J&lt;/option&gt; &lt;option value="10"&gt;Q&lt;/option&gt; &lt;option value="10"&gt;K&lt;/option&gt; &lt;/select&gt; &lt;select class="plcardSecond"&gt; &lt;option selected value=""&gt;-- Choose One --&lt;/option&gt; &lt;option value="1/11"&gt;A&lt;/option&gt; &lt;option value="1"&gt;1&lt;/option&gt; &lt;option value="2"&gt;2&lt;/option&gt; &lt;option value="3"&gt;3&lt;/option&gt; &lt;option value="4"&gt;4&lt;/option&gt; &lt;option value="5"&gt;5&lt;/option&gt; &lt;option value="6"&gt;6&lt;/option&gt; &lt;option value="7"&gt;7&lt;/option&gt; &lt;option value="8"&gt;8&lt;/option&gt; &lt;option value="9"&gt;9&lt;/option&gt; &lt;option value="10"&gt;10&lt;/option&gt; &lt;option value="10"&gt;J&lt;/option&gt; &lt;option value="10"&gt;Q&lt;/option&gt; &lt;option value="10"&gt;K&lt;/option&gt; &lt;/select&gt; &lt;select class="dlCard"&gt; &lt;option selected value=""&gt;-- Choose One --&lt;/option&gt; &lt;option value="1/11"&gt;A&lt;/option&gt; &lt;option value="1"&gt;1&lt;/option&gt; &lt;option value="2"&gt;2&lt;/option&gt; &lt;option value="3"&gt;3&lt;/option&gt; &lt;option value="4"&gt;4&lt;/option&gt; &lt;option value="5"&gt;5&lt;/option&gt; &lt;option value="6"&gt;6&lt;/option&gt; &lt;option value="7"&gt;7&lt;/option&gt; &lt;option value="8"&gt;8&lt;/option&gt; &lt;option value="9"&gt;9&lt;/option&gt; &lt;option value="10"&gt;10&lt;/option&gt; &lt;option value="10"&gt;J&lt;/option&gt; &lt;option value="10"&gt;Q&lt;/option&gt; &lt;option value="10"&gt;K&lt;/option&gt; &lt;/select&gt; &lt;input type="submit" value="Submit" id="Submit"&gt; &lt;/form&gt; &lt;div id="dothis"&gt; do this &lt;/div&gt; </code></pre> <p>Script:</p> <pre><code> &lt;script type="text/javascript"&gt; var valueFirst; var valueSecond; var dlCard; $(document).ready(function () { $(".plcardFirst").change(function() { valueFirst = $( ".plcardFirst" ).val();//player first card; }); $(".plcardSecond").change(function() { valueSecond = $( ".plcardSecond" ).val();//player second card }); $(".dlCard").change(function() { dlCard = $( ".dlCard" ).val();//dealer card }); $("#Submit").click(function(){ $("#dothis").html("hit"); }); }); &lt;/script&gt; </code></pre>