Questions tagged as 'input'

2
answers

PHP variable problem with peliculas [duplicate]

I'm bringing this variable from the mysql database into a text input, but the result I'm not able to show because of the peliculas. $cota = '946.9"1968/1975" AMA Ant'; echo '<input type="text" value="'.$cota.'" />'; result: 946.9...
asked by 23.02.2018 / 13:23
1
answer

two different patterns in the same HTML input

Hello, I would like to know if there is a way to put more than one pattern as an alternative to the first one in html For example, a person can only use Gmail.com and Hotmail.com, so that they can fill in with an OU other ex: <input...
asked by 08.08.2016 / 18:10
3
answers

Is it possible to insert an SVG as value into an input tag?

I have the button below and what I want is that instead of the name "Go", I can use an image, be it in SVG or even something of Awesome Font. How to proceed in this case? Thank you in advance! input {background:#B80000; color:#fff; font...
asked by 07.03.2018 / 15:23
2
answers

Increase size field balls for password

I want to increase the size of the "balls" of an input password, I thought of input { font-size:140% /*exemplo*/ } for example. However, only the bar that keeps blinking at the time of typing increases. The password characters do not incr...
asked by 23.09.2014 / 02:46
2
answers

Search only form fields with a value other than 0 and put in PHP variable

I have a budget form with 70 products in which the user chooses the quantity of products he wants from each one. All are named with id p1, p2 ... p70 and are type inputs. <form method="post"> <input type="number" value="0" name="p1...
asked by 28.08.2017 / 20:50
2
answers

Replicate val () content in span

I found this code that works great on inputs: <script> $(function() { $("[name='email']").keyup(function() { var email = $(this).val(); $("[name='login']").val(email); }); }); </script> <input type="text" na...
asked by 11.05.2017 / 18:54
2
answers

Focus on the last character Jquery

I need that when the field receives the focus, the cursor stays on the last character. The way the cursor is is at the beginning of the field even though the field is not empty. function gravaObs(unidadeObs) { var gasObs = $('#obsGas_'+uni...
asked by 19.08.2017 / 23:14
1
answer

How to disable checkbox without using disabled?

How could I inhibit changing checkbox without using disabled , since I want to send it via form. <input type="checkbox" name="option1" readonly="readonly" checked="checked"/> // esta alterando <input type="checkb...
asked by 15.03.2016 / 15:22
1
answer

Multiply SELECT value with INPUT value

How could I multiply the value of one SELECT with one INPUT and show it in another INPUT? <!-- MULTIPLICAR ESSE SELECT --> <select name="papel"> <option value="">Tipo Papel</option> <?php $query = $conn-&g...
asked by 11.08.2018 / 22:42
2
answers

Set JS variable in input value HTML

I have several inputs in an HTML where the IDs are correct. I want to get value of these Inputs with these JavaScript variables, however only the Input of nome takes the value of the variable! The rest of the inputs are empty: $...
asked by 20.02.2015 / 17:24