Questions tagged as 'jquery'

1
answer

Simple Doubt with JQuery, Smooth Effect

I'm having a hard time smoothing out an effect I made. It is very static, after clicking on the link, the goal is to make click after the menu screen in a smooth way ... from opacity 0 to 1. Below I'll leave the code working: $(docume...
asked by 29.04.2015 / 17:10
1
answer

Call function without having to instantiate the plugin again

I'm doing a drag and drop plugin with a colleague, but we're having a problem. When we instantiate the plugin it runs normally, but if we want to call some function of this plugin in the variable in which it was instantiated we always have to in...
asked by 04.05.2015 / 17:58
2
answers

How to make same "new" Gmail notification?

Hello. I'm looking at how to make an equal "new" Gmail notification: Thatis,whenthereisanewiteminthelist,the"new" tag appears and only disappears after the person visualizes. It seems that gmail does not make a ajax request, I'm n...
asked by 10.03.2014 / 18:16
1
answer

Catch the attribute value of an image and show it below

I have this code: <script> $(function(){ $(".flipster").flipster({style: 'carousel', enableTouch: true, start: 0, onItemSwitch: function(){ var nomeAlbum = $(this).attr("data-title"); console.log(nomeAlbum); } });...
asked by 02.03.2014 / 21:11
2
answers

Limit characters and display the number of characters

Well, I have a input for the user to put the name, and under the input I have both the typed characters and the maximum amount (0/50). I wanted you to type in the characters you type, and when you reach the limit you can not type anymore....
asked by 13.09.2018 / 02:49
2
answers

Showing the result according to the load and not waiting for the script to finish displaying the results on the screen

My question is as follows: the code is working as expected the problem when I put a large email list (100) the page gets all in white "loading" and only returns me the result after the script ends to be executed, I need a solution that allows me...
asked by 12.01.2015 / 02:40
1
answer

Possible bug input number in firefox

I was developing a calculation where I used a number field and a text field, where in the number field the user would enter the quantity of an item and the text field would give the value of the item calculated. In some tests performed, when the...
asked by 06.01.2015 / 13:27
1
answer

Send multiple values in an input to PHP using jQuery AJAX

I have a script that aims to insert multiple items into a list of a form using Ajax. For each element inserted in this list, a next one should be added. After inserting X elements, it should take all values and play in just one input, addi...
asked by 31.10.2014 / 19:57
2
answers

Save information if user exits the page

The page in question has a form on the face, this form has only three fields, which are the necessary basic information, after clicking the button, the fields will disappear and new fields with complementary information will appear. The probl...
asked by 02.08.2018 / 22:20
1
answer

Problem with jQuery mouseleave function to trigger popup

I'm using the mouseleave function to open a popup when the user moves the mouse out of the site. This is the code: jQuery('body').mouseleave(function() { if (!jQuery('body').hasClass('leave-on') && localStorage.ge...
asked by 21.07.2018 / 04:39