mathiasbynens/jquery-placeholder — Issue #62: Placeholder deletes text input fields on IE9
Author: statico
Created: 2012-03-08 02:58:19+00:00
State: open

This code deletes the input element after creating it:

$('#foo').append($('').placeholder());

Here's a live example -- try it with IE9: http://jsfiddle.net/jTnc3/6/