Questions tagged as 'jquery'

3
answers

Run multiple animations in sequence in jQuery without polluting the code

I need that when one animation finishes in jQuery, another one will start. And this must be done in sequence (without running at the same time). I saw in a project where I work a code that does this, but I believe it has many callbacks....
asked by 13.08.2015 / 19:12
3
answers

Jquery get the first and second tag inside a div

I'm trying to get the first and second elements inside a div. But I can not. I want to get the two inputs inside the shipping_table . And by clicking on the inputs they will do a function. HTML is: <table class="table" id="shipping_t...
asked by 26.08.2015 / 15:50
3
answers

Upload image and insert inside a DIV

I have the following layout: I would like that when I click on LOAD, open the explorer to choose the image and click on the image, where there is a DIV, as it happens on many websites. Are there any plugins for this?     
asked by 11.11.2014 / 12:56
1
answer

Close menu by clicking outside it or the open button

I am creating a menu structure that when clicking on the element, will display a submenu. I need to do this using addClass , since I need to change the styling of the elements when clicking. When clicking inside the submenu, it should rema...
asked by 31.10.2014 / 20:10
1
answer

How to leave a fullscreen div with CSS3 and scrollTo with jQuery

I'm trying to create a responsive site with Twitter Bootstrap and I'd like to know how I could let div get fullscreen, ie that it takes up the entire screen and when press the button, the site will smoothly slide to the next div ....
asked by 02.11.2014 / 00:14
1
answer

Increment and decrease value with slider

How can I create a price list? similar to this . Is there a JavaScript / jQuery plugin to implement these functions, so that I can customize it?     
asked by 08.07.2014 / 06:08
2
answers

Exporting data from php to xls from a link

I am making a link, which when the user clicks on it should generate an xls file. The link has the date-attributes and should pass these attributes to the page.php and generate the xls. I tried jquery and it is not working, does it have any othe...
asked by 22.07.2014 / 19:12
3
answers

Insert input only if it does not already exist

I'm working on a form with dynamically inserted fields. But I want fields to be inserted only if they do not already exist. My html: <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8"> <title>T...
asked by 14.07.2014 / 15:52
2
answers

Capture data after the # character in the browser URL

I have the following URL http://urldosite.u/home#6 that when I step into a variable, it simply overrides everything after # . And I really want to get just what this after this and this character, in the example, the number 6 I have...
asked by 24.07.2014 / 19:29
2
answers

Ajax Date Return Behavior

My doubt is technical. I would like to understand better what happened. I spent a few days trying to solve a problem in my code. I found that the functions of ajax or php were wrong. Two PHP functions were very similar, b...
asked by 25.07.2014 / 22:28