Questions tagged as 'javascript'

1
answer

Capture the state of a Css animation

Greetings, I have the following div spinning with @Keyframes. What I need is that when you click on the same div, capture the current angle it is in. const go = document.querySelector('#box'); const box = document.querySelector('.box');...
asked by 26.12.2016 / 12:33
2
answers

Starting with SQLite

I work with NodeJS , for a while, I've been working with JSON files to store information from many users, but now I'm facing a problem, the corruption of the data (the file is being rewritten almost constantly), so I want to move all functi...
asked by 03.01.2017 / 20:15
1
answer

Cors error in AngularJS

I have a question that I have been trying to find a solution for, but nevertheless it has not been entirely clear to me, I have an application made in AngularJS that consumes a JSON from an external source , the detail is the following I'm u...
asked by 06.01.2017 / 05:12
3
answers

Problems formatting a String on date

My problem is that I receive a String element from my form, which can be of these two formats: fecha = "010117"; or fecha = "01012017"; And I need to format them to a date format valid as "01/01/2017" , I've tried to do it in sev...
asked by 05.01.2017 / 07:58
1
answer

Why do I run this on all lines?

I'm trying to make every X lines insert a tr with a spacer, more or less I have it, but every time I get to the line to put the space, I put it in all the lines instead of in the line who does the jump. I'm using this code in javascript and j...
asked by 13.01.2017 / 19:38
1
answer

create a pdf of a specific div with jspdf

When I try to create a pdf with jsPdf I can not take the div specific, I tried everything but it does not leave me, any help is well received. <script> $(document).on('ready', function(){ $('.buttonNext').on('cl...
asked by 12.01.2017 / 02:36
1
answer

Change jvectormap marker for an image

I am trying to change the default markers of jvectormaps for an image that is centered in a country according to the coordinates entered. The map code is as follows: <div id="world-map-markers" style="height: 400px" ><...
asked by 12.01.2017 / 21:58
1
answer

My Javascript function is not activated

Well, my problem is that I want to activate an action on a label, but it marks me an error and I do not know because if everything is as it should work. Label <a onclick="can();">Cancelar</a> Function of .js <script typ...
asked by 23.12.2016 / 20:16
1
answer

Problem with DIRECTORY_SEPARATOR in PHP

I am trying to do two selects nested, in which when the value of the first one is changed, some values collected from the Database will be loaded in the next one. For this I am trying to do it using php and ajax . The selects code...
asked by 20.12.2016 / 15:38
1
answer

Work with all the fields returned by a PHP, JQUERY, MYSQL table

Good, I have a problem that is that I need to manipulate all the records that exist in a table, that is, I am creating an inbox, with inbox and the tables and the backend part are fine, it returns all the messages that they wrote to me, since al...
asked by 20.02.2017 / 20:45