Questions tagged as 'javascript'

1
answer

GroupBy on nodejs mysql

I do not know how to do the query, being more specific I do not know how to put the group by in my query, here goes my code objBD.query('SELECT u.ID_U, u.nombre, t.ID_T,t.tiempo, t.iteracion from USUARIO u INNER JOIN TIEMPOS t ON u.ID_U=t...
asked by 05.11.2016 / 18:39
1
answer

JavaScript arrays object

I'm doing a sales system in php and mysql. The database operations I do with jquery ajax. I save header and detail of the sale separately, the detail is shown in a grid of jqwidgets from which I extract its datasource in as an object of arrays....
asked by 20.10.2016 / 15:43
1
answer

Insert iframe time on Google map

I have inserted a google map created on my sites with the google application. This map is a pop-up window that opens when I hit a button and it takes up 100% of the screen. What I want now is to add an iframe that shows the time, but I can not g...
asked by 15.01.2017 / 17:27
1
answer

Validate that the user is logged in when changing view - AngularJS

I am developing a web application with AngularJS , and I need to perform a validation in each of the views in which the user has previously logged in. I have already created a service for authentication and in this there is a method that valida...
asked by 17.01.2017 / 17:22
1
answer

Problem to modify a variable with Vue.js

I have a problem with Vue js: I try to do something like a list of notes. I have a json array where all the notes will be saved and a json where the note that the person wants to create is saved. But the problem is: After doing a push to the js...
asked by 21.11.2016 / 01:49
1
answer

JSON inside a closure

I have a JSON , for example: var text = '{"name":"John Johnson","street":"Oslo West 16","phone":"555 1234567"}'; And I want to insert it inside a closure in JavaScript , but read the JSON from outside the closure , I can not read it fr...
asked by 22.11.2016 / 15:42
3
answers

Remove element from the DOM and List with jquery

I would like to delete the record that I upload with an img X, when I upload the file this is done well, showing a span with the name of the file in a label "<span>"+urls[i].split('/').pop()+"<a id="+idMinuta+" href=\"javascript:Elimi...
asked by 04.10.2016 / 14:22
1
answer

jplayer does not work on safari [closed]

I downloaded the jplayer v2.9.2 with JQuery v1.11.1 which has worked correctly in all browsers, except in safari, I have navigated to find a solution but it does not work for me, this is the code I am using. $(document).ready(function(){ new...
asked by 13.10.2016 / 16:54
2
answers

When I update a Div with jQuery or AJAX I duplicate the page

I'm trying to update a div with jQuery here the javascript code; <script> $(document).ready(function(){ setInterval(loadClima,5000); }); function loadClima(){ $("#coches").load("dashboard.php"); } </script> here I put the di...
asked by 15.10.2016 / 20:59
1
answer

Link several checkboxes with ng-model

I request your help because I have not managed to bind between several checkboxes and the data. I have tried it in several ways and this has been my result: HTML <label ng-repeat="teams in teams" class="checkbox-inline"> <input...
asked by 29.09.2016 / 17:59