I'm trying to modify the login page to ADFS as outlined in the blog below. Basically changing the wording so it no longer says "someone@example.com" in the login box.


It works correctly in all browsers except for IE 9 or earlier. But in IE 9 it still shows the default placeholder of someone@example.com. This will be confusing to users.

Here is the code

// Check whether the userNameInput element is present on this page.
var userNameInput = document.getElementById('userNameInput');
if (userNameInput)
// userNameInput element is present, modify its properties.
userNameInput.placeholder = 'Placeholder Text';

Does anyone know how to either make this work for IE 9 or make it just come up as blank as it says it should in the blog post?