placeholder Questions

4

Solved

I created a JTextField and now I want to set the placeholder on that JTextField, but I don't know how? Please help. Here is my code: JTextField database=new JTextField("Enter Data Base N...
Cornew asked 25/4, 2013 at 11:43

1

Solved

Little issue on my app, placeholders aren't present on Internet Explorer 11. I tried the CSS sample below but without any success. :-ms-input-placeholder { /* IE10–11 */ color: #ccc !important; ...
Vice asked 18/10, 2016 at 21:4

4

Solved

My text input placeholders refuse to display in IE and Firefox despite having used the -moz-placeholder attribute. This can be viewed on the contact page here if you are using Firefox or IE. Can s...
Lowpitched asked 10/12, 2013 at 23:42

3

I have an input element with a placeholder which needs a CSS ellipsis. When there is no focus on the input, the ellipsis works correctly, but when I click on the input field, the ellipsis disappear...
Koppel asked 17/6, 2015 at 16:5

3

Solved

I have the following input html element that I want to change the placeholder of depending on what is being held in my user model. <input type="text" class="form-control" id="Username" name="Us...
Coachwork asked 1/6, 2015 at 12:51

4

Solved

I tried to follow the following topic, but unsuccessfully. Change an HTML5 input's placeholder color with CSS I tried to colorize my placeholder, but it still stay grey on Chrome 17.0.963.56 m...
Depoliti asked 26/2, 2012 at 9:18

5

Solved

If I have an expression {{ x }} and x is undefined or null, then how can I display a placeholder for it? I provided one solution in my answer, but I would like to know what other ways there are. ...
Sachasachem asked 27/3, 2013 at 12:14

2

Solved

I just want to insert a wrapper to the woocommerce_get_product_thumbnail I can see that my wrapper appeared but It doesn't have a fall back image if there's no image. How do I output the default w...
Serpentine asked 12/7, 2016 at 5:35

1

Solved

I typically use an inline onfocus / blur to toggle placeholder text in inputs. Like this: <input type="text" placeholder="Name" onfocus="this.placeholder = ''" onblur="this.placeholder = 'Name'...
Genovera asked 13/6, 2016 at 21:20

5

Solved

I want to vertically center the text entered in input text boxes on the page. Typical way to achieve this is to set the line-height and height equal. This works on pre iOS 5.0 Safari. However; ...
Absently asked 19/12, 2011 at 8:8

2

Solved

I've got a basic input element on a form: <input type="text" name="where" placeholder="Location or Place"> But I want to style the placeholder inline with the design below: Currently I'...
Tapia asked 11/4, 2014 at 8:52

9

Solved

Shouldn't this line of code render a inputtext field with the placeholder text "fill me" when using html5? <h:inputText placeholder="fill me" /> I do not see any placeholder text. I thoug...
Larondalarosa asked 13/12, 2011 at 18:28

3

Solved

I have a function that sends out site emails (using phpmailer), what I want to do is basically for php to replace all the placheholders in the email.tpl file with content that I feed it. The proble...
Telly asked 11/4, 2012 at 12:37

2

Some of the placeholder text I have in my app is a bit ridiculous for a screen reader (a sample MAC address, for example). Is there a way I can tell a screen reader to ignore only the placeholder...
Meander asked 30/3, 2016 at 15:22

11

Solved

It seems it's a very well known problem but all the solutions I found on Google don't work on my newly downloaded IE9. Which is your favorite way in order to enable the Placeholder property on the...
Levator asked 16/6, 2011 at 0:53

4

Problem translating placeholder text in input type="text" This is my sample code: Html: <div id="google_translate_element" style="float:left; padding-left:15px"></div> <!-- Need...

3

Solved

I have the following code so that when a users selects an input box the value will disappear, but the default value will then be re-inserted once a user clicks off it. $(function() { var default...
Louella asked 1/11, 2012 at 18:1

1

Solved

I have a drop down list which has placeholder text. In other browsers, I have been able to center this placeholder text but in Chrome, text-align:center Here is the HTML for the Select: ...
Mcmurray asked 26/2, 2016 at 14:43

9

Solved

I want to use the HTML5 "placeholder" attribute in my code if the user's browser supports it otherwise just print the field name on top of the form. But I only want to check whether placeholder is ...
Biparous asked 25/11, 2011 at 0:57

3

Solved

This is my code: Model: [Required] [DataType(DataType.Text)] [Display(Name = "Your company's name")] public string CompanyName { get; set; } View: @Html.TextBoxFor(m => m.CompanyName, new {...
Telmatelo asked 6/3, 2013 at 11:42

10

Solved

I made this simple function to add placeholder in browsers that do not support it: DEMO The question is: How can I add to that function the possibility to remove the placeholder when the us...
Markswoman asked 30/10, 2013 at 7:18

3

I was trying to add placeholder in <p> tag, I tried the following way but dint work out. I need a placeholder in the <p> tag, it should be replaced with the value in input text. JS fi...
Effie asked 8/9, 2015 at 10:26

8

Solved

I have tried to set UITextField "Placeholder" color as dark. NSAttributedString * search = [[NSAttributedString alloc] initWithString:@"Search" attributes:@{NSForegroundColorAttributeName: [UIColo...
Alligator asked 19/4, 2014 at 4:24

1

Solved

I've got a git alias for a log using the pretty format: lg = log -10 --graph --abbrev-commit --pretty=format:'%C(auto)%d%Creset%n %C(bold yellow)%h%Creset - %s %Cgreen(%cr) %C(bold blue)<%an&g...
Vivianviviana asked 16/1, 2016 at 17:13

5

Solved

How do I put a hint/placeholder inside a asp:TextBox? When I say a hint I mean some text which disappears when the user clicks on it. Is there a way to achieve the same using html / css?
Migration asked 5/4, 2013 at 0:25

© 2022 - 2024 — McMap. All rights reserved.