Questions tagged as 'input'

1
answer

Generate a class btn link from an input

I am trying to generate a link (preferably a button) that is generated dynamically with the content of an input, I think I have gone far by modifying jquery codes. The link I want is a url like this: "index.php? order_of_purchase=" to which a...
asked by 20.10.2017 / 20:11
1
answer

Operation of form when changing it from input to select [closed]

In a contact data submission form, I previously had a input in which the user entered their country. Now I had to change the input for a select , for the user to choose the country from a list. Aesthetically everything wor...
asked by 28.08.2017 / 16:18
0
answers

Problem with input hidden PHP form

I have to make a basic form included in a table send a certain value to then be able to delete the row, but I am not able to do so. This is a table with users, keys and delete buttons (which I use as submit). The idea is that when I press one...
asked by 04.01.2019 / 13:12
2
answers

How to limit the number of decimals to an input?

The total is generated multiplicanco amount x price in the following function function calcularMult(con){ $("#resultado_" + con).val($("#nn_" + con).val() * $("#mm_" + con).val()); var sum1 = 0; $("input[id^='resu...
asked by 12.12.2018 / 19:02
0
answers

Problem with the input type search in Mozilla browser

I was doing tests with the <input type="search"…> tag in HTML5 on my website and it works perfectly. There is only one small detail and I only saw it in the browser Mozilla Firefox (not in Chrome , IE / Edge or Opera ) It...
asked by 20.11.2018 / 17:54
0
answers

how to validate an input text without characters /? : "|

function validarmaximo() { var nfact = document.getElementById('txtnf').value; var patron = /[A-Za-z0-9]/; if (nfact === null || nfact === "") { alert('ERROR:vacio'); return false; } //var (/["']|\-{4,}|\.{1,}|\s/i)....
asked by 19.11.2018 / 06:25
1
answer

Get the data of several new inputs with VueJS within methods

I have that problem. I'm doing a system for the faculty and I decided to do it with Vue. My knowledge is not much in Vue, but I'm doing very well so far ... The code works perfectly for me, so I also use jQuery for some things I do not know abou...
asked by 18.11.2018 / 17:33
0
answers

assign values to input from selected ID of a select2

I hope you can help me, I'm new to this. I need that when selecting an input from a select2, show me the cost and the unit of measurement of the selected input in their corresponding input, in this case the inputs "unidadI_P" and "costoI_P"....
asked by 08.11.2018 / 23:46
0
answers

Set file to input from JavaScript

I need to automate the way to select the file in an input. Adding it manually via JS. I have this: <input type="file" id="files" onchange='stl_viewer.add_model({local_file:this.files[0]});' multiple> The idea is to pass the file th...
asked by 17.10.2018 / 11:56
1
answer

How can I create a dictionary of feminine and masculine words?

I have a question, I have defined a function to restrict offensive words in my input but I need a code so that regardless of the word that is entered, the code restricts the words in both female and male, example: dog - bitch the following is...
asked by 26.09.2018 / 16:43