Organizational Research By

Surprising Reserch Topic

input placeholders for internet explorer


input placeholders for internet explorer  using -'javascript,html,internet-explorer,placeholder'

HTML5 introduced the placeholder attribute on input elements, which allows to display a greyed-out default text.

Sadly the Internet Explorer, including IE 9 does not support it.

There already are some placeholder simulator scripts out there. They typically work by putting the default-text into the input field, give it a grey color and remove it again as soon as you focus the input field.

The drawback of this approach is that the placeholder text is in the input field. Thus:


scripts can't easily check whether an input field is empty
server side processing must check against the default value, in order to not insert the placeholder into the database.


I would like to have a solution, where the placeholder text isn't in the input itself.
    

asked Sep 14, 2015 by Yong78Rgluny
0 votes
20 views



Related Hot Questions

15 Answers

0 votes
NULL
answered Sep 14, 2015 by JerroldLilly
0 votes
NULL
answered Sep 14, 2015 by LatGrandi
0 votes
NULL
answered Sep 14, 2015 by Rich81Miuwyk
0 votes
NULL
answered Sep 14, 2015 by GRDBeatriz58
0 votes
NULL
answered Sep 14, 2015 by SofiaLafount
0 votes
NULL
answered Sep 14, 2015 by AbrGunderso
0 votes
NULL
answered Sep 14, 2015 by WenGxt
0 votes
NULL
answered Sep 14, 2015 by DerPaulsen
0 votes
NULL
answered Sep 14, 2015 by AlvHone
0 votes
NULL
answered Sep 14, 2015 by Danial6274m
0 votes
NULL
answered Sep 14, 2015 by WenDawe
0 votes
NULL
answered Sep 14, 2015 by Liliana8768d
0 votes
NULL
answered Sep 14, 2015 by WinstonGoadj
0 votes
NULL
answered Sep 14, 2015 by MatManuel
0 votes
NULL
answered Sep 14, 2015 by JedNickelmtb

...