Questions tagged as 'jquery'

3
answers

When using success: function () and .done (function ()) in asynchronous requests?

In a simple way, I can write an asynchronous request like: $.ajax({ url: url, dataType: 'json', type: 'GET', success: function (_user){ alert (_user) } }); that alerts me to the _user return. Also, I write...
asked by 27.07.2016 / 19:39
5
answers

Event is not tied to element

I have an event in jQuery (version 1.5) as follows: $('#refresh_abertos').click(function(){ // aqui o código irrelevante nesta pergunta }); It turns out that my #refresh_abertos element is only loaded later via ajax ,...
asked by 21.01.2014 / 14:25
2
answers

How to leave the Scroll of a smooth page?

How do I make the scroll bar on a page smooth? And if you can, how to customize it. Example: link     
asked by 03.05.2014 / 02:09
1
answer

How do I increase the brightness of an element with Javascript / jQuery?

On my page I have several elements with different background colors. I would like to know how I could do to when clicking a button increase the brightness of the color, make it lighter. You can do this using javascript / jquery ? How?    ...
asked by 20.12.2013 / 04:45
1
answer

Show GIF while page loads

I need a GIF to work while the page loads. I already tried a few ways but none worked. And when the page load appears Done! . More or less as happens on this site .     
asked by 08.03.2014 / 18:57
4
answers

How to detect if an HTML element is empty?

How can I detect if an HTML element is empty with jQuery? I need to make a condition if the element is empty.     
asked by 06.01.2014 / 19:48
2
answers

Why does Google Chrome accuse me of missing jquery.min.map?

I downloaded the version of jQuery 1.10.1 minimized and Google Chrome is alerting on the tools for developer, Network tab, jquery.min.map was not found: Error 404 Note: jQuery works correctly. Is this jquery.min.map a new...
asked by 18.12.2013 / 15:40
2
answers

What would be the 'e' passed as parameter in js functions?

What would be the 'e' that is passed as parameter in functions? Ex.: function nome(e) { (instrução); } Does anyone have any material, or keyword for research that I can use to study a little more about it?     
asked by 04.05.2015 / 15:07
2
answers

Translation of static website content for 4 languages

What tool have you used to free the translation option of content from a static HTML site to another language? Some jquery plugin, some api? What is the best practice for performance today? Would it be ideal to use something that captures the...
asked by 07.02.2017 / 19:05
4
answers

How does jQuery make the parameters to be dynamic?

I noticed that in jQuery, parameters can often be passed or omitted, and regardless of order, they work as expected. What I mean is this. See the following codes below: $('#x').fadeOut(function(){ alert('complete') }); $('#x').fadeOut(40...
asked by 18.10.2015 / 23:59