Questions tagged as 'input'

3
answers

How to stylize a "file" input?

I have this structure: <section id="cadastro" class="cadastroVersao pg-i"> <div class="titulo"> <h1><i class="icon-clientes"></i>Cadastro de versão</h1> <a href="<?php echo base_url...
asked by 01.10.2015 / 22:54
5
answers

How to remove auto complete from google Chrome input?

I want to remove yellow background when auto completion of Google Chrome is enabled. I tried disabling auto complete by applying: autocomplete="off" and I was not successful. The image above is the view in Chrome and the bottom is...
asked by 05.05.2015 / 22:24
1
answer

Focus when starting the page

What is the best way to get an element to focus as soon as the page loads     
asked by 25.08.2016 / 15:59
4
answers

How to add the ninth digit, in a fixed way, using the jQuery Mask?

How to add the ninth digit in a fixed way using jQuery Mask ? $('#telefone').mask('(00) 90000-0000'); This way I use is only optional.     
asked by 19.06.2015 / 22:26
2
answers

In HTML what is an undetermined Checkbox and how to use this status along with CSS?

As far as I know, a% of% of type input could have three states, checked , not checked and disabled . But it looks like it has a fourth state that is undetermined . See in the image a comparison of the states that Checkbox c...
asked by 11.09.2018 / 18:07
4
answers

Changing Placeholder in Focus with CSS is it possible?

Imagine that I have a input for the phone number, but that when the user focuses on it I want to change the text from placeholder , for example from "phone" to "just numbers" . You can do this with CSS in :focus for exa...
asked by 12.12.2018 / 14:54
1
answer

How to prevent an Input Required from starting with the CSS style: invalid

When I have a input required that has some CSS style when it is :invalid , even before the user interacts with input it already becomes stylized as invalid. How can I avoid this? See the example: input:invalid {...
asked by 05.09.2018 / 21:13
2
answers

Style an input type = 'number' to change the arrows

How to customize input type='number' as the following image? Clickingon+/-addsorsubtractsthenumberinsidethebox.Currentlymycodeis:.bedrooms=f.input:bedrooms,:label=>false,as:"number", placeholder: 'Quantos quartos?', min: 0 which...
asked by 12.10.2018 / 22:48
2
answers

How to mask an input in HTML5?

For example ... I want a input unique for phone numbers. When typing the DDD it automatically receives the parentheses: (xx). When typing the rest of the numbers it splits with a hyphen, for example: (xx) abcd-efgh. And in the cases of st...
asked by 18.02.2015 / 17:33
3
answers

How to put the value of a PHP variable inside an input?

How to put the value of a variable (already computed in PHP) within an input ? <form method="post" action="calculos.php"> <div id="circulantes"> <div class="ativocirculante" id="ativocirculante"> <h2>ATIVO...
asked by 02.10.2017 / 13:54