Skip to content
Advertisement

Tag: input

Split String and insert it in different input

can you please help me how to split a string in an input and insert those split strings into different inputs? I already tried some codes that I found here but it still didn’t work. I actually want to store the string in that 2 different inputs (those not hidden) after exectuting the functions This is the source code: Answer

Dynamically append input where mouse clicked

I’m trying to show an input where my house clicked, if I don’t enter anything in the put, the input will show in the next mouse click. Somehow, I can’t seems to type inside that input. I have Answer if your problem just you can’t type , you need to focus input Add $(“input”).focus(); after pins.push(api);

Native date input ignores CSS

I have a problem with native inputs of type date. My case consists of a native form with multiple native inputs of different types (text, number, date, etc.) The application featuring the form has a sticky header which results in the following behaviour: Whenever the form is submitted and the form validation encounters an invalid input for an input field,

Confusion with hiding some input fields using JS vanilla

I want to show hidden input fields when check “Buy on company” checkbox. It works, but if I uncheck it leaving “Is VAT exemt” checked and return: “VAT ID field” is shown with “Is VAT exemt” checkbox checked. So I want to avoid this situation. Picture of situation: Answer The code for clicking on buy_on_company is always hiding or showing

Advertisement