Hello,
I have a few span elements that I am hiding via CSS (display: none;). When the page loads, I would like the first span element to show which in all browsers, except IE7, seems to be the case. Anyone have any clue as to why this might be happening? There isn't any crazy code that would cause this problem, it simply just isn't working.
jQuery v1.4.2
<script type="text/javascript">
$(document).ready(function() {
$('span.player').hide();
$('span.player:first').show();
});
</script>
<span class="player" style="display: none;">Player embed code</span>
<span class="player" style="display: none;">Player embed code 2</span>
Thanks, Jake