input Questions
4
listeners from dnd-kit are interfering with the input:checkbox's onChange event
When I work with input:checkbox onchange event dnd-kit's {...listeners} interfere with the onchange event. Listeners ...
Analog asked 3/11, 2023 at 9:16
4
I want to allow only English characters and numbers in HTML input field (A-Z, a-z, 0-9 are allowed). I don't want someone inserting special characters with copy/paste.
Yeasty asked 21/7, 2015 at 8:46
4
Solved
I have a program that basically reads a text file and counts the number of occurrences of each word on each line. Everything works properly when reading from a text file using an ifstream, however,...
8
I'm trying to read a line using the following code:
while(fscanf(f, "%[^\n\r]s", cLine) != EOF )
{
/* do something with cLine */
}
But somehow I get only the first line every time. Is this a ba...
5
Solved
I have many <input>s which accept at most three characters, as shown.
<input type="text" id="0" maxlength="3"/>
<input type="text" id="1" maxlength="3"/>
<input type="text" id...
Hardunn asked 7/6, 2020 at 21:27
4
Want "30 of month" but get "30"
package main
import "fmt"
func main() {
var s string
fmt.Scanln(&s)
fmt.Println(s)
return
}
$ go run test.go
31 of month
31
Scanln is similar to Scan...
3
Knowing both is used as a hint for mobile browsers, I couldn't find a real doc about the difference between using <input type="tel"> and <input inputmode="tel">. So
...
6
Solved
I was trying to run this code:
def main():
print("This program computes the average of two exam scores.")
score1, score2 = input("Enter two scores separated by a comma:")
ave...
6
Solved
I can't quite find a clear answer on this, and excuse me if there is one I've missed.
I want my text input widths to automatically adjust to the size of the content within them. First with placeho...
Garneau asked 29/5, 2015 at 3:55
10
In my CSS I need an color based on user picked color.
The color picked is used with a fixed transparency of 80%.
The following form element will let the user choose a color easily.
<input type...
Burmaburman asked 27/10, 2016 at 8:46
4
I'm trying to write a program that automatically add columns from the OLE DB Sources in all of the components in a .dtsx file (the target is SSIS 2005). When I process the .dtsx with my program see...
Prague asked 20/9, 2013 at 15:18
6
I want to disable or erase the text of my input fields from my contact form.
Specially on the fields that appears text like "Full name", "Email Address" and "Your message will be here"
I am using...
Ontine asked 28/8, 2014 at 2:53
5
Solved
I have a textbox & button which looks like this:
<div class="col-xs-11" style="padding:20px 0 ">
<input type="text" class="form-control txtKeywords" id="txtKeyw" style="margin-botto...
Mighell asked 3/7, 2017 at 15:5
5
Solved
In google chrome if I set the value of an input of type datetime-local to a time containing seconds where the seconds value is 0 Chrome decides not to show the seconds value on the input, meaning t...
Wilks asked 21/10, 2013 at 20:26
6
Solved
first I'd like to mention that I am not realy experienced in java, and I searched StackOverFlow for a solution to my problem and either I didn't find it or didn't understand the answer, so I am ask...
Capitalistic asked 3/6, 2015 at 8:22
5
Solved
I am unsure why I am getting this error
count=int(input ("How many donuts do you have?"))
if count <= 10:
print ("number of donuts: " ) +str(count)
else:
print ("Numbe...
Greatest asked 23/2, 2013 at 3:10
4
I'm trying to figure out how to upload a picture file into an input dialog. It isn't possible to just type in the name and hit enter as I don't see a way in order to automate that with Puppeteer. I...
Denitadenitrate asked 10/12, 2019 at 18:24
5
Solved
Using PowerShell, I would like to read the value of key presses as they occur, without the user having to press enter. For example, if the user presses '1' I would like the PowerShell script to rea...
Johniejohnna asked 10/9, 2014 at 14:47
5
I'm trying to build a calculator that does basic operations of complex numbers. I'm using code for a calculator I found online and I want to be able to take user input as a complex number. Right no...
Ostracod asked 9/9, 2016 at 14:7
10
Solved
I'm new to javascript , I'm trying learning how functions etc in JS and trying to add 2 numbers
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
&...
Tierza asked 4/3, 2016 at 8:56
6
Solved
How do I return the value of elem so that I can verify that it is in fact 1?
const elem = await page.$('input#my-input')
await elem.fill('1')
Micronesia asked 25/5, 2020 at 12:3
6
Solved
I have a form for uploading a file in an angular 5 app, and as I have copied it exactly from a code I had written a while ago, I can swear it had worked before.
Here is my HTML code:
<form [form...
9
Solved
How can you set a default input value in a .net console app?
Here is some make-believe code:
Console.Write("Enter weekly cost: ");
string input = Console.ReadLine("135"); // 135...
Dumfound asked 31/10, 2009 at 19:17
9
Solved
I am trying this:
<input type="text" placeholder="some text" class="search" onkeydown="search()"/>
<input type="text" placeholder="some text" class="search" onkeydown="search()"/>
wi...
Brandabrandais asked 8/1, 2014 at 14:35
2
For my Flutter App, I'm using many input form fields for data input, and assigning a validation method for each, for all fields the error message appears normally, just below the field, except for ...
Travertine asked 22/3, 2019 at 15:47
1 Next >
© 2022 - 2024 — McMap. All rights reserved.