Questions tagged as 'javascript'

1
answer

Mouse Click Trace

I need a script, that on a whole page where you click, a ball appears in the place where it was clicked, but after about 2 seconds it disappears. No need to be ripples, just something that leaves a trace, an example is Google Maps when you cl...
asked by 08.03.2014 / 00:03
4
answers

How to check with javascript / jquery which object (s) are causing a scrollbar on the page?

I would like to set up a verification script, because it is often difficult to find out why the page is scrolling, especially when we use some responsive framework that has a lot of css code and lots of js code manipulating. I need tips to pu...
asked by 11.03.2014 / 15:10
1
answer

Doubt about POST and GET in php

I tried searching the internet, but I could not answer my question ... I started programming the web recently, although I already used post and get, I came across a situation where I got "packed". I have the page cadastrar_endereco.php, which is...
asked by 07.04.2014 / 23:00
1
answer

How to convert screen coordinates to Cartesian coordinates?

In Python: How to convert screen coordinates to Cartesian coordinates, where there may be positive and negative points and the center of the screen is (0,0)?     
asked by 18.02.2014 / 17:34
2
answers

Retrieve elements by class in IE8 with pure JS

I have this: <input type="hidden" value="<c:out value='${destino }' />" class="destino" /> <input type="hidden" value="<c:out value='${destino }' />" class="destino" /> <input type="hidden" value="<c:out value='${...
asked by 18.02.2014 / 15:23
2
answers

JavaScript function error. $ .toJSON

I'm running a script that was passed to me by third parties. And it is giving the following error:    TypeError: $ .toJSON is not a function QtdeQuartos: $.toJSON(qtdQuartos),     
asked by 21.02.2014 / 20:22
2
answers

Use jQuery function only in @media screen and (max-width: 960px)

We know that there are @media queries . They work with CSS. But I need to do with JavaScript. I need bxSlider to work only on% w / o%.     
asked by 18.03.2014 / 13:40
1
answer

What does this mean: ".append ('scr' + 'ipt .."?

Yesterday this question was asked: Do something after an external script is fully loaded via jQuery append . Looking at the question and your answer, the following snippet caught my attention: $("body").append("<scr"+"ipt src='url_do_scrip...
asked by 06.01.2018 / 23:22
1
answer

Speech Recognition does not recognize special characters

I've tried using result.replace ("at", "@") of javascript to change the word "at" to "@" as it is in the code below but did not work. I want to do this with period, comma, underline and etc ... therefore, speech recognition writes in extenso...
asked by 05.01.2018 / 14:35
2
answers

Algorithm to capitalize the first letter of each word [duplicate]

I need to do this exercise to create algorithm in JavaScript:    "Create an algorithm to format names by leaving the first capital letters, example Rodrigo Baptista Oliveira Rodrigo Baptista" Could someone please help me? I can not l...
asked by 03.07.2017 / 03:37