Questions tagged as 'javascript'

0
answers

Add Next and Previous buttons embedded in HTML5 Video Player

I'm looking for a way to do something that Youtube has in their app, though, in an HTML5 video player using only HTML, CSS and Javascript / Typescript. See: I already have all the code and logic of the button operation. But I can not...
asked by 06.08.2018 / 17:03
2
answers

Consuming Json, problem with Cors

Good morning! I'm running a query (via jQuery and Json) in the Mercadobitcoin API, but I always get a return error. Upon inspection, there is a failure by the CORS method. I checked the documentation, there is a warning "the methods have CORS...
asked by 06.08.2018 / 16:43
0
answers

Import mongoose object list

I'm trying to save data from a csv file in mongoDB, using mongoose. I need to read row by line, generate an object from that row and supplement it with other data, which comes from the user login session. To work with the csv file, I'm usi...
asked by 26.07.2018 / 16:19
4
answers

Sorting an array of objects by date

Well I'm with an array of objects and I need to sort the closest to today to far away from today. For example today is 24/11/2015 ai I have in my array the dates: 30/11/2015 27/11/2015 25/11/2015 30/11/2015 In case the result I'm needing...
asked by 24.11.2015 / 14:08
1
answer

Object undefined when reading from IndexedDB (JS)

I'm using IndexedDB to write a simple table using JavaScript. When selecting a record for change, it is read and loaded in the form. However, when trying to update it in the database it is not read and returns an undefined object. Here is the Up...
asked by 26.07.2018 / 20:05
0
answers

TypeError: Path must be a string

This error appears to me when I try to do UPDATE in my MySQL DB. The error only appears on this page, in the other one that also does UPDATE (different tables) not from any error. TypeError: Path must be a string. Received { id_ponto: '3', i...
asked by 26.07.2018 / 20:12
1
answer

Problem with mouseleave and its reaction with SVG images

On the site there is a popup that in the case should only appear when the person takes the mouse from the area of the site. But it was showing up by clicking on a button that jQuery('body').mouseleave(function() { if (!jQuery('body').h...
asked by 22.07.2018 / 23:56
0
answers

Return data of another component

I have the following problem, I create the user and add the same in a course. I just can not return the course name on the user page. The course is added via select input, sending only the ID of the course. When I return via {{user.curso}}...
asked by 23.07.2018 / 17:53
0
answers

Using curl to get url parameter from sendit.cloud

Hello, I would like your help because I'm having the following problem, I'm trying to get the url of the video from the sendit.cloud site, so I'm facing two problems. The first problem is that the links generated by sendit.cloud on the...
asked by 23.07.2018 / 14:44
1
answer

Problem adding JS file to project with VueJS 2

I have the following problem: When I include a local .js file in my project with VueJS I get the following error message. Herearemystructureandcode: I realized that if you include an external file, via CDN for example, it works perfect...
asked by 23.07.2018 / 00:36