Possible Duplicate:
placeholder in ie9
A very simple test in http://jsfiddle.net/zhshqzyc/mGAPs/
My code:
<div id="generatePinsDialog" >
<label for="newCount" style="width: 400px;">
How many?</label>
<input id="newCount" type="text" size="25" placeholder="Enter the number!" />
<br />
And:
jQuery(function() {
jQuery.support.placeholder = false;
test = document.ElementById("newCount");
if('placeholder' in test) jQuery.support.placeholder = true;
});
It works in google chrome but IE 9.
Thanks for correcting the code.