Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
133 views

How to force JS input's 'change' event when value was retyped but not changed?

I know there are a lot of similar questions, but I haven't found exactly my case. Using vanilla JS there is an input control in which a user types something. A date as an example (but could be a phone ...
Kasbolat Kumakhov's user avatar
0 votes
2 answers
448 views

Visual bug when input is autofilled

I have an html form with a bunch of inputs. When an input gets autofilled by Safari and I then attempt to edit the input there is a weird overlapping of the string. If I click around it seems to fix ...
Snape Ninja's user avatar
3 votes
0 answers
394 views

Placeholder for time input in Safari

I am using <input type="time" />. Chrome, Firefox, and Edge renders it properly i.e. the placeholder used is : --:-- -- where as Safari uses 12:30 PM as a placeholder. What is the ...
reactify's user avatar
1 vote
1 answer
2k views

Step attribute does not work in <input type="datetime-local"> and <input type="time">

I can't understand the step attribute in <input type="datetime-local"> and <input type="time">. It seems to be badly implemented in all major browsers. Step="1&...
Fred Guth's user avatar
  • 1,667
0 votes
2 answers
927 views

Continue number series when using a placeholder value in <input type="number">

I would like to continue with numbers when using a placeholder in an input form. Let's say my placeholder value is 5: <input id="threshold" type="number" placeholder="5&...
NelliaS's user avatar
  • 49
0 votes
1 answer
473 views

How do I access and update value in HTML input type number? [duplicate]

I am trying to perform a calculation where the number entered by the user in the first input is returned in the readonly second input field instantly. Its a simple calculation to take 20% of the first ...
Obaka Torto's user avatar
2 votes
2 answers
2k views

How to create reactive search input field in Vue.js?

I want to build a seach input field that sorts an object array while typing, using vue 3 with script setup. input field: <input type="search" placeholder="Search" v-model="...
Artur Müller Romanov's user avatar
-1 votes
1 answer
677 views

When label is used with asterisk in input field, when it's text is large it's over laying on Asterisk

I've created a form element which has basic input field with label that should be required. So I've added asterisk.And when the text is large it should break to multiple lines. But the problem what I ...
Kishore Kumar Korada's user avatar
0 votes
1 answer
1k views

HTML + JS: Clear File Input on button click

I want to tell my backend, I deleted the assigned file it already loaded: <input id="pic" name="pic" type="file" onclick="this.value=null;" onchange="...
xtlc's user avatar
  • 1,378
1 vote
1 answer
30 views

JS switch what form returns to a b64 string

I want to save an image in b64 format in my database. For reasons I want to deal with the logic on the frontend side of things. My backend sends a form and already encapsulates the filefield input ...
xtlc's user avatar
  • 1,378
0 votes
2 answers
454 views

How to make a button(input) work for only one textbox in html?

In the code below all submit and reset buttons works for all textboxes, however I want it to make it so that every button applies to the textbox one above it. I want one button to work for only one ...
PhysicsEnginering's user avatar
1 vote
0 answers
165 views

Javascript set value of input field such that it registers

I'm trying to automate login to https://login.channeladvisor.com/ in Chrome. Setting value of the username and password fields is easy: document.getElementsByName('username')[0].setAttribute('value','...
erohtar's user avatar
  • 33
0 votes
2 answers
303 views

HTML wrong formatting

I am trying to create a simple login page, but I keep stumbling upon a problem. An input I put in a form (which is in turn in a table) goes to the top left corner of the page. Here is my code <!...
Emanuele Polonia's user avatar
0 votes
1 answer
47 views

Is there any way to set up form attribute input tags to get Google Advanced Search to work with no JS

I am working on project 0 for Web Programming Python and JavaScript Course in CS50. I am having a problem on google advanced form to return items on the input field. I have tried so far here is my ...
Saed Mohamed's user avatar
0 votes
0 answers
109 views

Backspace Fails to clear values on input type='email' When there is a <SPACE> in the email Field

If there is a ' ' space in the email field pressing Backspace takes the Pointer Back to the start of the Input Field without deleting the Text before the ' ' space. I'm using this Input Tag for React ...
Laraib Zafar's user avatar

15 30 50 per page
1
2 3 4 5