Questions tagged as 'javascript'

0
answers

foldable list in firefox

I have a view that has a folding list ( <select> ) that by selecting some element (option) it refreshes and tabulates me results. The problem is that Google Chrome works as normal as it should work. but in firefox when I just ope...
asked by 29.09.2017 / 14:03
1
answer

I do not load javascript in django 1.11

I'm doing a website in django , but when I run the application loads the HTML and CSS but not the JavaScript, why is it? The errors shown are the following: [28/Sep/2017 14:02:23] "GET / HTTP/1.1" 200 26231 [28/Sep/2017 14:02:23]...
asked by 28.09.2017 / 20:50
1
answer

how can I calculate with onchange and show it in table

I have the modal where I have an input type number and I want to increase the amount by discounting in the stock. here is the extract of the php code <tr> <td>'.$row['idterm'].'</td>...
asked by 30.09.2017 / 21:11
0
answers

How can I get a value n from a text field with js?

I'm new to js, this is what happens. I have this function: which is where I pick up the value of the drawer to know how many points there are to find function puntos(npuntos) { if (npuntos >= 2) { document.getElementById(...
asked by 23.09.2017 / 23:13
1
answer

It does not show json values

I am trying to print some values that I send by post to a php script and I must return the sum of the two sent values, I have already proven that the php is receiving the values and that the json is storing the values. This is html code: &l...
asked by 02.10.2017 / 20:50
1
answer

How to show an alert with 10 minutes left of a specific time

I currently have the following code: let start_date = ''; var now = new Date(); let validation_date = ''; const $topleft = $(this.refs.topleft); const message_popup = result.map(item => { if (mom...
asked by 02.10.2017 / 19:58
0
answers

Get device MAC through Apache Cordova

I am developing a Mobile Application with Apache Córdova and I need to get the MAC from the device. Is this possible? If so, how do I get it?     
asked by 22.09.2017 / 03:18
1
answer

How to make the changes permanent?

Hello, I am learning javascript and I am doing a code that when I click on a tag p the existing content is modified by a textarea that I then modify for another text. I already achieved it The code I used was Function modificar(e) { G = e....
asked by 24.09.2017 / 21:30
1
answer

Problems when reloading Datatable

Greetings to all, I have this problem with a Datatable table which in my .JS file I declare at the beginning of this way: var table; $(document).ready(function(){ table = $('#example').DataTable({ data: "", 'rowsGroup': [0...
asked by 26.09.2017 / 21:45
0
answers

Return variables callbacks and how they are stored in a global variable for validations in sql

I am starting in programming with NodeJs and I have a little problem. I'm doing validations for registering new users on a website. And I'm doing the validation modules so that a certain field is not duplicated. //main.js var mysql=...
asked by 27.09.2017 / 16:05