input Questions

6

I've searched all over for this but I can only find how to change/modify styles for input, select and button elements. What I want to do is remove all shadows, borders, background, icons etc every...
Dribble asked 2/11, 2015 at 11:41

23

Solved

By default, the input type="date" shows date as YYYY-MM-DD. The question is, is it possible to force it's format to something like: DD-MM-YYYY?
Halogenate asked 10/9, 2011 at 13:33

7

Solved

I would like to fill an array using consecutive integers. I have created an array that contains as much indexes as the user enters: Scanner in = new Scanner(System.in); int numOfValues = in.nextIn...
Menispermaceous asked 13/2, 2015 at 1:3

38

How can I detect when the user cancels a file input using an html file input? onChange lets me detect when they choose a file, but I would also like to know when they cancel (close the file choose...
Villous asked 7/1, 2011 at 17:46

10

I have a simple input field like this. <div class="search"> <input type="text" value="y u no work"/> </div>​ And I'm trying to focus() it inside a function. So inside of a ran...
Strigil asked 30/8, 2012 at 20:0

9

Why won't my input resize when I change the type to type="number" but it works with type="text"? EXAMPLE Email: <input type="text" name="email" size="10"><br/> number: <input typ...
Adelaadelaida asked 28/3, 2014 at 10:11

8

Solved

I'm looking get this code: <form id="first_name"> <div class="form-group"> <label>First name</label> <input type="text" class="form-control input-lg" /> </div&...
Needful asked 17/7, 2017 at 18:1

6

I am working on a webapp with two input fields in the lower half of the screen. The parent view is positioned absolutely to the screen. Typically, one would assume when clicking the input field, th...
Overpower asked 20/9, 2013 at 16:47

6

I'm new to coding in python and I was filling out some code that required a number of inputs. One thing it asked for was for the program to perform an action if the user pressed the enter key and d...
Mountaineer asked 6/10, 2014 at 23:40

19

Solved

How would you set the default value of a form <input> text field in JavaScript?
Nilla asked 30/9, 2011 at 10:32

17

Solved

Is it possible for python to accept input like this: Folder name: Download But instead of the user typing "Download" it is already there as a initial value. If the user wants to edit it as "Dow...
Pameliapamelina asked 28/3, 2010 at 13:51

24

Solved

I would like to avoid white spaces/empty spaces in my angular 2 form? Is it possible? How can this be done?
Zoniazoning asked 30/8, 2016 at 20:58

6

Solved

This is strange behavior to me but on Webkit browsers (Chrome/Safari, not Firefox) if I include a space in a string of numbers in an <input type=number> then the value of that input is empty....
Troubadour asked 7/9, 2013 at 19:56

11

Solved

Here are the inputs I want to loop through Main photo: <input type="file" name="image[]" /> Side photo 1: <input type="file" name="image[]" /> Side photo 2: <input type="file" name...
Divertissement asked 26/3, 2011 at 19:41

34

In my component below, the input field loses focus after typing a character. While using Chrome's Inspector, it looks like the whole form is being re-rendered instead of just the value attribute of...
Glossography asked 3/3, 2017 at 7:25

4

I working on the time input type in HTML, my problem is when I click on the small clock icon on the right side of the input, the selectable time menu is viewed but I need to show it when I click an...
Cosine asked 29/11, 2020 at 8:0

8

Solved

I'm grabbing input from a standard input stream. Such as, 1 2 3 4 5 or 1 2 3 4 5 I'm using: std::string in; std::getline(std::cin, in); But that just grabs upto the newline, correct? How c...
Parthenogenesis asked 21/4, 2011 at 2:34

6

I've searched extensively on here for an answer to this but haven't quite come across what I'm looking for. Found this CSS - How to Style a Selected Radio Buttons Label? but the answer involved cha...
Danidania asked 9/11, 2012 at 22:29

2

Among the relatively new HTML form controls are the 'type=range' and 'type=color' controls. The spec states that when a form containing such controls is submitted, there will always be a value subm...
Psaltery asked 17/5, 2012 at 21:44

4

Solved

I Recently Noticed in Google Chrome it is showing blue color background for all inputs elements which are auto filled values
Benzedrine asked 1/3, 2019 at 9:36

8

Solved

I'm working on a bot for a competition that receives its input through sys.stdin and uses Python's print() for output. I have the following: import sys def main(): while True: line = sys.stdin....
Yuille asked 15/2, 2014 at 0:2

4

Solved

I started making use of Win32's raw input features to detect all keys on the keyboard. So far, everything is working great! I can distinguish between numbers on the top row and numbers in the keypa...
Fascine asked 15/4, 2011 at 19:13

4

Solved

I have the following line in HTML: <input type="file" #fileInput style="display: none" accept=".xml" (change)="OnFileSelected($event)"/> Upon selecting a file, the OnFileSelected ...
Sigrid asked 23/12, 2019 at 20:44

11

Solved

I've looked at numerous other questions and found very simple answers, including the code below. I simply want to detect when someone changes the content of a text box but for some reason it's not ...
Achorn asked 27/5, 2011 at 13:41

13

Solved

I have built a textbox dropdown AngularJS component which works great in Chrome, Firefox, Safari and Internet Explorer. A feature of this component is that you type in a string, and then can use t...
Codger asked 25/9, 2015 at 15:45

© 2022 - 2024 — McMap. All rights reserved.