My question is actually the opposite, but you get the idea.
I have a form with placeholders and labels above the ´input´ fields. It looks kind of a stupid, but as old browsers don't support HTML5, where ´placeholder´ attribute is added, the labels are needed.
I was thinking, that if there'd be way to check if the browser supports HTML5? If it does, hide the labels. If doesn't, hide the placeholders (well you don't need that, because the browser wouldn't detect the placeholders anyway).
<div class="6u">
Email
<input type="email" class="text" name="email" placeholder="Email" />
</div>
I guess it's possible with jQuery, but I'm really new to it. Would this be possible?