Questions tagged as 'javascript'

1
answer

Remove animation timing function flicker

I had a doubt. I wanted to get the background of my web to change using keyframes. That's why I used animation-timing-function: step-start; . The problem is that it does change, but in each change there is a horrible white flicker, as if the im...
asked by 05.01.2017 / 18:47
1
answer

javascript message when you distich a checkbox

Good, I'm starting to use jquery so I still do not know much, I'd like to do the following. I have a checkbox. simple. but that I am loading by default 'checked' and I want that when trying to deface it I get a confirmation message in javascript...
asked by 03.02.2017 / 20:48
2
answers

JQuery does not work in a js file

My problem is that I can not use jquery in my js files, even though it is already integrated in html and even works with bootstrap. Try including JQuery before and after the JS but it is not solved. class User { contructor(name,pass){...
asked by 08.02.2017 / 02:56
4
answers

Find a property of an object for its value, and in turn collect others from it. Javascript

I have a query. Starting from the function and the object that you see, I have an application that will launch a state (a string of characters) that is in a variable. I need to find the value of a property within an object and if it exists, it w...
asked by 17.11.2016 / 19:07
3
answers

Use driver without $ scope

angular.module('App') .config(function ($stateProvider) { $stateProvider .state('solicitud', { url: 'solicitud', controller: 'SolCtrl as sol', templateUrl: '/scri...
asked by 18.11.2016 / 08:28
1
answer

3D graphic using THREE.js

Good friends, I need to know how to make a 3D graphic (some type of structure or box) that inside draw a line according to values that will be passed to them. Attached picture of what I want to do. I tried to create a cube without texture, wh...
asked by 15.11.2016 / 21:57
2
answers

send a JSON via POST with JavaScript

Let's see ... according to the comments I would have to edit the thread, but no matter how much I do it ... I have to send a json per post, and when sending it I would have to receive one in which I would say if the login is correct or incorr...
asked by 04.11.2016 / 12:50
1
answer

Help with Javascript & HTML [duplicate]

I have a form created based on append() of JavaScript as a result of the obtained in AJAX to receive and manipulate PHP Array converted to JSON. I also have a on to capture the form when it makes submit() , but there's the...
asked by 11.10.2016 / 05:54
5
answers

Result: [object], [object] when importing a JSON file

I have a problem getting data from a JSON file, when I try to get the data from this file, I get as a result: [object], [object] { "categories": [ { "categori_id": 1, "name": "drinks" }, { "categori_id": 2,...
asked by 19.10.2016 / 14:47
1
answer

how to iterate an object in nodejs

I did this function: const obj = [{id: 'a', time: 1}, {id: 'a', time: 2}, {id: 'b', time: 1}]; const objMapped = obj.reduce((acc, item) => { let { id, time } = item; acc[id] = acc[id] || []; acc[id].push(time); return acc; }, {});...
asked by 20.09.2016 / 16:24