Last Updated: February 25, 2016
·
611
· dubrod

Simple switch input placeholder to value for IE

<!--[if lt IE 10]>
<script>$(document).ready(function(){ $('input[type="text"]').each(function(){var $this = $(this); $this.attr("value", $this.attr("placeholder")).removeAttr("placeholder");}); });</script>
<![endif]-->