Top "Placeholder" questions

The HTML5 placeholder attribute specifies a short hint that describes the expected value of an input field (e.g. a sample value or a short description of the expected format).

How to display placeholders in AngularJS for undefined expression values?

If I have an expression {{ x }} and x is undefined or null, then how can I display a placeholder for …

javascript angularjs placeholder
How to create line breaks between dynamically generated labels in a placeholder?

This is the code below in code behind file's Page_Load event: LinkButton linkButton = new LinkButton(); linkButton.ID = "LinkButtonDynamicInPlaceHolder1Id" + …

asp.net dynamic button line-breaks placeholder
UISearchBar change placeholder color

Has anyone any idea or code sample on how can I change the text color of the placeholder text of …

ios uisearchbar placeholder
asp.net mvc How to add placeholder for html.dropdownlist

I'm using asp.net mvc 3. I have this dropdownlist of countries and I want to add a placeholder for it. …

asp.net-mvc drop-down-menu placeholder
HTML5 placeholder disappears on focus

Is there a freely available jQuery plugin that changes placeholder behavior to match HTML5 spec? Before Focus On Focus Good (…

html jquery-plugins safari focus placeholder
Text input placeholders not displaying in IE and Firefox

My text input placeholders refuse to display in IE and Firefox despite having used the -moz-placeholder attribute. This can be …

html cross-browser placeholder
How to create WPF usercontrol which contains placeholders for later usage

I'd better ask the question by example. Let's say I have UserControl and Window which uses this control. I would …

wpf user-controls containers placeholder
How to set the color and font style of placeholder text

I want to set the color to the placeholder, change the font style to bold, and increase the size. How …

html css placeholder
How to solve placeholder CSS difference across different browsers?

I am using Twitter bootstrap CSS. Below you can see how the same code is displayed differently with FireFox and …

css twitter-bootstrap placeholder
iOS 5.0 Safari not vertically centering placeholder in text box

I want to vertically center the text entered in input text boxes on the page. Typical way to achieve this …

css ios5 mobile-safari vertical-alignment placeholder