Questions tagged as 'javascript'

3
answers

Calculate existence

I'm doing a module that tells me the number of templates that have delivered a total of 100. I want that when entering a number in ENTREGADAS I subtract in NO_ENTREGADAS that is worth 100, that is: Example:  - if% co_of% is w...
asked by 23.06.2017 / 15:29
2
answers

Copy select value to input with PHP

How to make a select created with PHP send its value to a input created with PHP? Of this select : <th>Proveedor</th> <td> <select name="prov_id" id="prov_id"> <?php if (cou...
asked by 23.06.2017 / 22:04
1
answer

how to avoid sending empty fields in html with php

<table> <tr> <th>Nombre</th> <td><input type="text" name="nombre"/></td> </tr> <tr>...
asked by 29.06.2017 / 17:44
2
answers

Select values within a table by rows

How can I select values from an html table by rows in JavaScript ?, I have the following function already done but that brings me together all the rows function iiid(e) { var iii = ""; $("td").parent("tr").find("td").each(function...
asked by 29.06.2017 / 15:09
1
answer

Print just one HTML element with the keyup event in a form

I am creating a form in which I will evaluate if the passwords match correctly. I am using the keyup event and it works 'half' because every time the passwords do not match, the element is added back to the DOM. $('#buttonContinueSetting...
asked by 29.06.2017 / 16:11
3
answers

Show modal when clicking on button created dynamically

I'm trying to show a modal, when clicking on a dynamically created button. If I have it this way it runs but it immediately disappears and I can not do anything since the page goes gray. <script> function ModalGood() { $...
asked by 29.06.2017 / 19:09
2
answers

Error adding top position

var b = document.getElementById("m"); function f(){ b.style.top += "10px"; } setInterval(f,1000); #m { border-radius: 360px; width: 150px; height: 150px; border: 2px solid black; position: absolute; top: 4px...
asked by 19.08.2017 / 02:46
1
answer

Event KeyCode Jquery does not work

Good day, I have a problem when trying to program the KeyCode event. I'm sure it has nothing to do with the JQuery library because I already tested an alert, which tells me it's working fine. I hope you can help me, I have reviewed the code s...
asked by 18.06.2017 / 21:30
1
answer

I can not access my .js file from my .html file

I am currently using a small plugin to embellish my select within my html, the problem is that I mark the following error Uncaught TypeError: $(...).niceSelect is not a function , try to put a console.log(); and a alert(); in...
asked by 18.06.2017 / 20:07
3
answers

Increase variables dynamically [duplicated]

I want to increase the variable of each of the fields ( NUMERO_ITEM1 , DESCRIPCION_ITEM1 ) dynamically, that is DESCRIPCION_ITEM1 , DESCRIPCION_ITEM2 ... DESCRIPCION_ITEMn ... By means of variable $post...
asked by 14.06.2017 / 19:53