Questions tagged as 'jquery'

1
answer

Calling a SetInterval variable

I have the variable X X = setInterval(function() { ... and after a while I gave a stop in this setInterval with the function clearInterval(X) How do I call this variable to continue the loop after it has been "deleted"?     
asked by 29.09.2015 / 18:05
3
answers

Show / Hide animated information by clicking element

I would like to make a simple animation that is executed in the click event assigned to an element. This is the site that I will use this animation. Suppose my element is a circle, for example. I want it to click bigger and show some inform...
asked by 24.02.2014 / 19:55
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
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

How to transform a string into HTML C #

I'm using a component and need to load it with HTML snippet that comes in a variable. For that I created this JQuery: $(document).ready(function(){ $('.mentions-kinder').html('@HttpUtility.HtmlDecode(Model.FormulaRecover)'); }); But eve...
asked by 18.03.2017 / 23:26
2
answers

Restrict method override of an object in javascript

I'm trying to create an object where its methods can not be changed. That is, its value, even if changed, should continue as initially defined. Example: var object = (function(object){ object.method = function (text) { retu...
asked by 09.02.2015 / 16:11
3
answers

How to leave the first capital letter?

I have the function, and it works perfectly: $.fn.capitalize = function() { function isTRChar(key) { var trchar = [231, 246, 252, 287, 305, 351]; for (var i = 0; i < trchar.length; i++) { if (trchar[i] == key) return true;...
asked by 27.07.2017 / 19:46