Questions tagged as 'javascript'

1
answer

How to compile the entire project folder for ES5 using babel.js?

I have an HTML5 Cordova project and I need to make a hook before compiling to convert entire projects folder (www) to ES5 before compiling. Is it possible? Structure cordova/ hooks/ node_modules/ platforms/ plugins/ www/...
asked by 09.08.2016 / 23:10
1
answer

Redirect user to Google Maps application

I'm developing a responsive website and using the Google Maps API to generate the company's location map. I would like when the user was accessing the site by a mobile device and clicking on the map or even a link, was redirected to the Googl...
asked by 26.11.2015 / 16:37
1
answer

How to remove an already selected item from a multiple upload

I have this example and would like to remove an item from my selection. But it is not removing properly, has a problem with the index number, how could I solve this? link     
asked by 09.11.2015 / 22:21
3
answers

Characters "'" and "f" appear in the textbox, how to correct?

We are using MVC5, I put a field @ Html.TextBoxFor a Jquery function that does not allow the insertion of letters, however whenever the user types the characters "'" and "f", they are inserted and deleted in the act, the other characters are oka...
asked by 26.11.2015 / 20:12
2
answers

How to execute "setInterval" without initial delay?

In this code below, it updates a div every 20 seconds. Only when I enter the page I have to wait 20 seconds for it to appear. I wish he had already appeared at the beginning of the page. <div id="latestData"><img src="img/loading3.gif...
asked by 01.10.2015 / 04:46
1
answer

Jquery + Angular form does not pass an input value

I'm doing a post with Angular. It works fine when I manually type the values in the form, however it gets a value via jQuery $("#id_veiculo").val(valores02.id); and this value appears correctly, but at the time of sending the value of thi...
asked by 19.09.2015 / 22:02
1
answer

Help with animation as you scroll with javascript

I have a vector image <img src="images/first-page/vectors/waves-723178.svg" alt="Imagem vetorial decorativa" class="vector-wave"> and it is positioned to the left of the screen .vector-wave { position: relative; transform: t...
asked by 11.06.2015 / 05:35
3
answers

JS variable returning NaN

I'm assigning the sum of a column in an HTML table to a JS (sum) variable, but when I print it on the screen I get a NaN, does anyone know why? <tr> <td style="background:#c4ffd6;" align="center" class="qtd_recuperado"> &...
asked by 04.10.2017 / 13:59
2
answers

Calculating interest with javascript

I'm having a hard time putting together a script, I'm not sure how to calculate date interpolation with javascript, I was thinking of doing a screen that calculates interest, but returns real-time values on inputs that are disabled fol...
asked by 30.09.2017 / 15:48
1
answer

getUserMedia has now been deprecated on non-https connections?

This morning I updated my Google Chrome on Ubuntu. When I went to test the part of the system (local) where we took a picture of webcam , instead of displaying the authorization message to access webcam , I received the following...
asked by 29.10.2015 / 12:14