Questions tagged as 'input'

1
answer

Add two inputs if there is hidden div

In my programming I have two div with buttons to hide them and I have two inputs: nota1 and nota2 and I have a button to add those two inputs. I want those two buttons to be added only when the div1 is hidden....
asked by 30.10.2018 / 19:45
1
answer

Read from a delimiter in a file

You see, I'm reading an xml file where each entry has the following format: <BatchIdentifier>[ID_FACTURA]</BatchIdentifier> I capture each line in the file with: string line; while(getline(plantilla,line,'\n')){//PARA HACER L...
asked by 21.04.2018 / 13:40
1
answer

Problem with u-select placeholder

Apparently when I place a ui-select within many elements, the placeholder of this element gets a width: 10px (I do not know why), which is a problem because apart from seeing that element badly, it can only be selected giving clicking just where...
asked by 30.03.2018 / 02:16
1
answer

ajax dependent input of combo in different rows

I have the following case to solve: In a table, where I add separate rows using the "Add" button, I have a combobox that brings data from the database and I need the input price_service to be automatically completed depending on the option...
asked by 14.02.2018 / 15:24
5
answers

How to display the radio input selected by a user when printing the screen

is the first time I ask for help since I'm stuck in a code for a few days, I looked for tutorials and help online but I could not solve them, so I go to bother them a little while to see if someone can give me a hand. I'm doing a form in html...
asked by 10.02.2018 / 16:19
1
answer

Create input showing if it is right or wrong

My current project consists of a section in which through a javascript (preferably), you have to write a word in an input. Then, you could know if it is the correct word or it is not, then it would be incorrect. I have been thinking about all...
asked by 24.09.2017 / 21:36
1
answer

Fill in input text with user data from mysql

Good afternoon! I am creating a visitor registration form for commercials. I need to extract in an "input type=" text "as the default value: The commercial agent's code, (it is not the same as the client's id) This is the form:               ...
asked by 09.11.2017 / 17:44
2
answers

change the value of inputs simultaneously when modifying one of them

In the following code I want that when modifying any of the 2 inputs change the other one with its respective operation but taking the variable from the one that has just been edited. function calcular() { var valor1= parseFl...
asked by 05.12.2018 / 19:53
1
answer

how to perform a mathematical operation in the same input, using javaserver faces?

Code xhtml <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:p="http://primefaces.org/ui"> <h:head> <title></title> </h:head> <h:body> <p:layoutUnit p...
asked by 13.12.2018 / 17:33
2
answers

SQL date format

I have created the following table in a SQL database: create table session( SessionId int auto_increment unique, SessionIni datetime, SessionFin datetime, UsHGTAG int, PcId int, primary key (SessionId) ); How...
asked by 28.08.2018 / 07:31