Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filed names not showing on IE #2

Open
blackmlm opened this issue Jul 9, 2014 · 0 comments
Open

Filed names not showing on IE #2

blackmlm opened this issue Jul 9, 2014 · 0 comments

Comments

@blackmlm
Copy link

blackmlm commented Jul 9, 2014

I noticed placeholders not working on IE8.

The best way to deal with it in a seamless manner is to use a tool like Modernizr to detect whether the browser has support for the placeholder feature, and run a JS polyfill script if it isn't supported.

if(!Modernizr.input.placeholder) {
//insert placeholder polyfill script here.
}

There are numerous placeholder polyfill scripts out there to download. Pick one which makes use of the placeholder attribute so that you only need to define the placeholder string in one place for all browsers. Here's one you could try: http://www.hagenburger.net/BLOG/HTML5-Input-Placeholder-Fix-With-jQuery.html

Hope that helps.

@johnnypea johnnypea added this to the What is the future? milestone Jun 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants