Skip to main content

Questions tagged [input]

Input is usually related to user input, i.e., to the data that user supplies to a running application. In many systems this input is considered to be potentially dangerous and needs to be sanitized to ensure that the user has not injected runnable code into the application.

-2 votes
0 answers
11 views

What should I prefer input type for voice synthesis [closed]

I decide to make my artificial neural network for synthesis my voice but still I am not sure about what I use for input type. Should I use input type as letter or syllable? I still not start the ...
Yunus's user avatar
  • 1
0 votes
0 answers
10 views

How to trigger event on input date select when value is unchanged?

I am pre-selecting a date on <input type='date' /> and want the user to select a date anyway. If the date selected is the same as the pre-selected value, it does not trigger the change event in ...
Z0q's user avatar
  • 1,807
-4 votes
1 answer
28 views

Input phone number with a maximum of 10 digits and no letters [closed]

I have one input text of phone number and where I have insert only numbers and if I am trying to write alphabet. Only numbers will be written and range is 10 numbers and max 10 numbers not 11 numbers
Aayush Jain's user avatar
-2 votes
2 answers
31 views

Customized input field with fixed text, vertical line and input text

I have a design like below. Tried many things to customize input field but couldn't make it. Left side is fixed text and right side is input that user needs to enter. How can I divide input as below ...
Alperzkn's user avatar
  • 483
2 votes
0 answers
33 views

Custom Caret Positioning in React Input Field Lags Behind Characters

Question: I'm trying to create a custom blinking caret for an input field in a React application. I've hidden the default caret and positioned a custom caret based on the text width up to the caret ...
max's user avatar
  • 285
-3 votes
0 answers
23 views

Using math.random form js and input it in php [duplicate]

I am trying to get data from input generated by math.random to php by Java Script id = Math.floor(Math.random() * 100000); document.getElementById('uid').value = id; // pastes it in input values <...
Me Kool's user avatar
0 votes
0 answers
34 views

What input for KLDivLoss

I have a CNN architecture and wish to use the Kullback-Leibler loss (KLDivLoss from pytorch) to compare output tensors and target tensors (grayscale images). I am a bit confused as to what the format ...
Witaek's user avatar
  • 45
0 votes
2 answers
49 views

Why input value isn't changed when re-render is occured by object state update

I am studying React through React Offical Document. I have question about this challenge. (https://react.dev/learn/updating-objects-in-state#challenges https://codesandbox.io/s/rztj2r?file=/src/App....
play _Er's user avatar
-3 votes
1 answer
72 views

How to repeat an action until something specific is entered?

This was my original idea: import os, time while True: os.startfile(r"c:\Users\owcor\OneDrive\Desktop\notepad.exe") time.sleep(5) inp = input("") if inp == "...
Weegee's user avatar
  • 11
1 vote
1 answer
53 views

html input type NUMBER, pure CSS how to customize plus and minus buttons

I found many ways to customize a html input number, e.g. <input name="tgTxt" type="number" value="36.5" max="37" step="0.5" style="width: 160px;"> with non pure CSS. Is there a way to ...
user2718593's user avatar
-3 votes
1 answer
43 views

How to align placeholder text in <input> vertically? [closed]

I can't find a way to align my placeholder text vertically in an <input>. This is the HTML/css code: #input_1 { font-size: medium; margin-left: 10px; width: 1876px; height: 500px; ...
zer0's user avatar
  • 1
1 vote
0 answers
21 views

table cells with labels and inputs: give all remaining space to inputs [duplicate]

I'm using a pretty simple table layout for a tabular UI, where the user will fill out various properties. Every cell contains a text label for the property, and an input element. In the case where ...
pb2q's user avatar
  • 59.6k
1 vote
2 answers
41 views

How to get the value of an input variable from a function using OneOf C#

I want to get the input value from a function. I call the function: Name=GetName(Paul) Where Paul is a member of ClassA, ClassB or Class C. I want to use the following function to call other ...
Martin's user avatar
  • 21
-2 votes
0 answers
42 views

Why is input.value.trim() not returning anything in console? [closed]

So I've been trying to learn js after html and css (beginner). I have a program that I want to update a according to a user input after a button click. I've defined input, button and list variables ...
Vuyo Jantjies's user avatar
0 votes
1 answer
12 views

Windows terminal cursor sometimes become strange

While using Windows, I frequently encounter the situation provided in the attached image. It looks somewhat auto-completion and the text cursor stands still until I complete typing a word. I think ...
Jisung Kim's user avatar

15 30 50 per page
1
2 3 4 5
2346