Most voted "input" questions
It is an input element that represents a typed data field, usually as a form control to allow the user to edit or enter data.
Learn more…466 questions
Sort by count of
-
2
votes3
answers3749
viewsProblems with input results after using an "int()"
Code example: idade = input("Qual a sua idade? ") int(idade) if idade >= 45: print("Tá velho cara, já era!") else: print("A vida está só começando rapaz!") Error found: Qual a sua idade? 45…
-
2
votes1
answer6731
viewsHow to keep the input date bootstrap on the page?
I implemented the "date" class of Bootstrap 3. When accessed the page, the field is rendered normally, but at the end of the page load the input text and the calendar icon simply vanishes.…
-
2
votes2
answers171
viewsHow to change the type of an input through events?
I’m trying to use the input with type="date" as follows: When you’re in GRID XS.. MD will use the select native to the apparatus When you’re in GRID LG.. XL will use the input pattern I tried to do…
-
2
votes3
answers827
viewsIs 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 from Font Awesome. How to proceed in that case? From now on, thank you!…
-
2
votes1
answer261
viewsPull data from a table for inputs on the same page
I need help to pull the values that are inside a table. I made a code using table with $sql = "select * from equipamentos"; to pull the data I implemented in the Mysql Database, but specifically in…
-
2
votes0
answers26
viewsHow to validate an input type number to accept only numbers?
I am wanting to configure the input number of Html5 to accept only numbers, but it is accepting the letter "and" and also ",." I’m doing it this way: <label for="txtHora">Hora…
-
2
votes1
answer421
viewsMultiply SELECT value with INPUT value
How I could multiply the value of a SELECT with an INPUT and display it in another INPUT? <!-- MULTIPLICAR ESSE SELECT --> <select name="papel"> <option value="">Tipo…
-
2
votes1
answer1286
viewsHow to do after user use input not break line
Turns out I want to use an input, ie put a value but after hitting enter not break the line but continue in the place where I wrote the value, I have no idea how to do with the python input, I tried…
-
2
votes4
answers82
viewsHow do I create a list for possible answers in python?
Well... I wanted to make a list for possible user responses to input, for example: nom = str(input('Você gosta de mim? ')) lista = ['sim','claro','obvio'] if nom == lista: print('obrigado, bom…
-
2
votes1
answer60
viewsWhat’s the difference between using input() and using sys.stdin.readline()?
What’s the difference between using the input() and use sys.stdin.readline()?
-
2
votes1
answer190
viewsHide a div by clicking the CSS button
You can hide a DIV with that button there? .button { display: block; position: absolute; width: 240px; height: 80px; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform:…
-
2
votes1
answer250
viewsLeave some input select Multiple(Angular Material) pre-marked
I am using Angular Material in my application, and it in turn has this list created to fill in my input: lista: any[] = [ { name: 'Cursos', tribunais: [ { value: 'RDC1'}, { value: 'RDC2'}, { value:…
-
2
votes1
answer73
viewsInput does not take the file type
In my application I have a simple input to grab a file XLS on most computers it works normally, but in some it is with problem. The browser ends up not being able to catch the type of the file and…
-
2
votes1
answer303
viewsWhen Typing in Input load another page without needing the Submit boot
I have a page where it has an input that loads barcode data when opening an application on mobile. When scanning the product barcode and loading the code into the input, I would like to have the…
-
2
votes2
answers370
viewsAlignment of same input Row using form validation
I am developing a React registration form, and for validation of input'I use the Yup. On the third Row of the form I have 3 input's, when Yup does the validation and inserts the notification…
-
1
votes0
answers105
viewsTagsinput bootstrap does not work
I’m using the bootstrap tags input together with Bootstrap 3 and I’m not getting the typehead Code: $('#tags').tagsinput(); $('#tags').tagsinput({ typeahead: { source: $.get('tags.php') } }); the…
-
1
votes1
answer392
viewsAdd Input with Jquery and how to get the data from this input
I have 1 JS button that creates input. I just can’t get this input data. I can create every input with a different name, but I have no idea how can I get these values from php. I tried to send the…
-
1
votes0
answers50
viewsBug z-index IE - Bookmark reading [input] overwriting dropdown menu
Has anyone ever had this problem in IE? I have a menu and just below an input field. When I select the input field and the bookmark appears, it overwrites the dropdown from the menu.…
-
1
votes1
answer180
viewsIdeal "replacement" for the placeholder
I’m in the final phase of a project! And now I’m doing the analysis as performance tests and structuring errors! One of the errors found is the placeholder of inputs and textarea. What I can use in…
-
1
votes1
answer12122
viewsHow to increase input text and break line automatically
Hello, as you can see in the image, the input is larger than the part I type the text and if I keep typing it does not break the line, what should I do ??…
-
1
votes2
answers431
viewsPHP does not take the auto-fill values
Good morning, I have a little problem and I hope you can help me: Busca_cep <!-- Adicionando JQuery --> <script src="//code.jquery.com/jquery-1.10.2.min.js"></script> <!--…
-
1
votes2
answers8633
views -
1
votes1
answer315
viewsManipulate path from a form input sent to url
I’m testing a search field that sends what the user types directly to the site I chose (in a new tab), searching the site itself, and it works perfectly. However, I wonder if there is any way I can…
-
1
votes4
answers1962
viewsHow to repeat the fields of a form?
I have a form where you have: =f.input :name , label: false , placeholder: "Nome do amigo" , input_html:{class: "form__input"} , required: true =f.input :email , label: false , placeholder: "Email…
-
1
votes2
answers188
viewsInvert order of names in inputs?
I am trying to do an exercise where I have to take 5 names in 5 different input, store them in an array and print them in the same fields but in reverse order to what they were. function…
-
1
votes2
answers17302
viewsAdd more fields in form dynamically in Jquery
I am creating a form, in which the user will add more fields dynamically. I took the function of this tutorial: http://www.sanwebe.com/2013/03/addremove-input-fields-dynamically-with-jquery The…
-
1
votes1
answer15
viewsMaximum call [...] while trying to open file dialog
HTML <div class="send">click<input name="files[]" class="file" type="file"></div> Javascript: $('body').on('click', '.send', function(e) { $(document).find('.file').click(); });…
-
1
votes1
answer755
viewshow to count number of input file elements of html with php?
need to count the number of input file elements, as they are created dynamically, with the click of a button <input class="tf" type="file" name="pic[]" accept="image/*"> this is the line that…
-
1
votes2
answers1564
viewsInserting a text input with a PHP button
I’m a beginner in PHP and would like to know if there is a way to add an input text in PHP using a button. I am developing a php application for warehouse control and I want to create a merchandise…
-
1
votes0
answers47
viewsReferencing parts of an external program C#
I need to reference the input (textBox) login from a program running on my PC. You would know how to tell me how to do this? I need to capture the login typed in the external program by my program…
-
1
votes1
answer724
viewsHow to use Pattern to delimit a minimum number in an input text?
Hello, I need to define that the minimum number inserted in an input of type text is the number 5, I tried as follows: <input type="text" name="someName" id="someId" required="required"…
-
1
votes2
answers859
viewsOnclick type image
I’m having a hard time making an event onclick work. I wanted to swap an image of an image type input. I did a test with a simple Alert and also not called the function. Here’s part of my code.…
-
1
votes2
answers519
viewsPlaceholder does not appear after applying "padding" to input
Hello, I have a very silly and simple problem that is making me waste a P#@& time! come on.. I’m using the Bootstrap v3.3.6 CLASS="form-control" In case someone wants to make an inspection on…
-
1
votes2
answers1816
viewsDifference between dates in javascript months
People want to have the difference of months between two dates. However I’m missing something. I want to enter the dates in the inputs and the result appear in another input. var DateDiff = {…
-
1
votes2
answers3874
viewsHow to take the value of an input within a <td> in jquery
Ola, I have the following table in html <table style="display:none;" id="tableTime"> <tr> <td class="hora">08:00</td> <td class="eventoAgenda" id="0800"></td>…
-
1
votes1
answer309
viewsI have a bug in the scanf
I have to read N lines with one of the following 3 formats: "P k": the letter P followed by k being k an integer number; "A k": the letter To followed by k being k an integer number; "Q": the letter…
-
1
votes0
answers59
viewsAjax does not pass information to Servlet
I have a problem with the code, Servlet is not called. It only works if I put action="Fileuploader" in the form. Is there an error? Is there any other way? What I need: an array of images, where…
-
1
votes1
answer715
viewsHow to select field content when receiving Focus?
I have a problem that seems to be simple, but it has taken me a long time looking for possible solutions and so far I have not been able to solve. I need to select the content of an Input in an HTML…
-
1
votes1
answer247
viewsEditing content from Div
I have a index, that displays the data from my database, wanted to click on the div, open a modal, which allows changing that div. Code of view: <div style="float:left;…
-
1
votes2
answers89
viewsWhy only save the last record in the table?
Guys, a little help here, please! <%= form_tag(portabilizar_portabilidades_path, name: 'form', method: :get) do %> <table class="table table-condensed table-bordered table-hover">…
-
1
votes0
answers207
viewsjQuery did not update the "live" input values
Hello, I am creating a RGB color selection tool with a slider input[type=range], but when I start mousewheel it doesn’t seem to update instantly: https://jsfiddle.net/AndreyAires/m3474ss1/1/…
-
1
votes1
answer116
viewsinput in PHP with fields filled
Script in PHP. My database has 3 fields: id, name, telephone. I need to update the data of 1 record. On the first page, I ask for an input, the name of the record to change, and a "Search" button to…
inputasked 8 years, 4 months ago Orlando FMC 9 -
1
votes1
answer1121
viewsUsing filter_input_array(INPUT_POST,"var_name") vs. $_POST
I have the following variable input in my form: <input class="caption_text" type="text" name="caption[]" required/> That I create dynamically with JS. After submitting I test the following:…
-
1
votes3
answers205
viewsDoubt about HTML input attributes
Hello, everyone. I’m doing a Tabuada using HTML and PHP. The user enters a number through a form and the table is displayed. I wonder if I can put some attribute in <input type="number>"so…
-
1
votes1
answer380
viewsInterval calculation of 2 dates
Personal as I separate dates and calculate the interval of 2 dates and in the daterangepicker? Ex: I put the default selector $('input[name="daterange"]').daterangepicker(); I select the date range…
-
1
votes2
answers2038
viewsHow to transform text into input text when clicking?
So, I need to transform a text that is inside an HTML tag into input text to edit it. What better way to do this ? Example: http://www.codigopronto.com/codigos/Texto-editavel-com-JavaScript.php…
-
1
votes2
answers960
viewsSearch inside the input and open another page
Hello, I’m creating a project in my computer course. I would like to know the best way to do a database search within an input, and open another search page. Note: I am using php, I used input and…
-
1
votes1
answer2606
viewsHow to format float and range input in Python 2?
I need to make an average calculator (student grades) where the entries have a decimal place and are in the range [0, 10]. The exits need to present five decimal places and so far, with what I’ve…
-
1
votes3
answers11941
viewsHow to pass data from one input to another with html and javascript?
Guys I have a big problem, I’ve researched a lot and I couldn’t solve my problem. I hope you can help me! I have a page (in html) with a form. I would like the value placed in the input of the first…
-
1
votes1
answer203
viewsHow to exit a timeout input in Python
I’m making a python software running on Raspberry, today it has a data input by a keyboard Matrix (https://www.adafruit.com/product/419) and another by a barcode reader, which works like a normal…