Questions tagged as 'javascript'

1
answer

Failed to solve the errors indicated by Google developers pagespeed js + css [closed]

I am working on a web page and it is already uploaded to the hosting (but since I have to fix some things still, I have closed the access). The issue is that I opened it a moment to see what google used to tell me in its tools for uploading a we...
asked by 28.05.2016 / 20:54
1
answer

How to add and remove google-maps marker in javascript?

How to add a bookmark in google maps and delete when you keep selected for 5 seconds? function genera_marcador(lat, lng) { var marcador = new google.maps.Marker({ position: new google.maps.LatLng(lat, lng), dr...
asked by 03.03.2017 / 02:08
2
answers

Console error when running my custom node.js script called npm start

I created a custom command in my package.json called npm start that includes tasks like gulp watch & node server.js, when executing it in console the following appears:    events.js: 160         throw er; // Unhandled 'error' event     ...
asked by 29.05.2016 / 21:11
1
answer

Error first column in a Google charts chart

When I create a timeline with google charts, I cut the first column and it does not look whole, because of the tests that I have done, it only happens if the 'div' of the chart is inside another 'div', instead, if it is directly on the page goes...
asked by 02.08.2016 / 12:31
3
answers

How to add several numbers in Javascript

Good as they are? I have a question on how I can make a value in javascrip can add it again and again, that is, for example I can make 1 + 1 + 1 equal to 3 without having to create a variable for each of them. This is the calculator tha...
asked by 09.08.2018 / 18:21
1
answer

noUISlider with Jquery does not assign as parameter "audio.currentTime"

The creation in the HTML of the slider is this, I use a framework, the nouislider. The Slider is because I am creating a player with HTML and jQuery together with Bootstrap. The slider would have to work, logically, to advance as the audio plays...
asked by 28.02.2016 / 04:43
2
answers

Problem with Recursive Ajax

I have an ajax function which is recursive, which means that it returns me an answer and if it returns a code I'll call it back to itself sending the code it gave me back, and so on until I return it in the code the value of -1, there ends the r...
asked by 29.04.2016 / 17:21
0
answers

Realization of an APP with PhoneGap and Framework7

I am trying to make a web application using these two technologies, although in some points I can not understand it. The application presents an initial login page, which makes a query to an API and if the user is authenticated, you pass to a...
asked by 19.07.2017 / 09:53
1
answer

Problem when ordering queries entered by the user

I am creating a program that captures data on a page using JavaScript. I inserted the QuickSort sorting method for general queries, however, only one query is displayed on the screen even if I entered more than one. This is my code: v...
asked by 16.06.2017 / 16:45
2
answers

Get line breaks of a textarea with JavaScript

I have a text area. <textarea style="font-size:15px;text-align:left;width:500px;height:150px" class="control-label" id="txtTextoTemplate">{{txtTextoTemplate}}</textarea> This text, I need it to modify a text that I use in conju...
asked by 06.07.2017 / 17:33