Questions tagged as 'jquery'

2
answers

Currency exchange online

I spent some time looking for a site where I can change currency. Where can I make requests via client-side script using a url address and receive a JSON object with the conversion. (I ended up finding a solution I like that I put here.)    ...
asked by 17.12.2013 / 00:17
2
answers

Catch only one div from another page via jQuery

Paste content of another page by javascript or jquery In another question I wanted to know how to get content from a page. In this I wanted through this code to get only a <div> instead of the whole content. Let's say I want...
asked by 17.06.2015 / 16:37
3
answers

How to set the number of times setInterval will run?

Is it possible to control the number of runs of setInterval ? I made a very simple script where I wanted to div blink 3x to alert the user. But in the script I did it it blinks straight. <div id="my-div">alerta teste<...
asked by 23.11.2015 / 19:35
4
answers

capture option value with jQuery

I have the following select in html. <select name='busca' onChange='link()'> <option value="1">OP1</option> <option value="2">OP2</option> <option value="3">OP3&l...
asked by 17.11.2016 / 11:44
5
answers

Retrieve a json final value in Javascript

Is it possible to retrieve a value from a result of a url by jQuery? My problem is the following, I need to receive the final result of this url: link I need to retrieve this result through JavaScript.     
asked by 20.02.2014 / 03:27
3
answers

Vertical slide navigation including highlight thumbnails

There is a slider here on this site that has a vertical navigation that sits on the right side, which includes the thumbnails of the previous slides and also the following slides. I would like an example to replicate this effect and I would...
asked by 13.06.2015 / 01:32
1
answer

How to make a click shoot another click?

I would like to know if there is a click on an element by clicking elsewhere, something like this: jQuery $("#button1").click(function(){ $("#button2").click(); }); I tried this and it did not work. Taking the example IDs as real;...
asked by 04.07.2014 / 23:21
4
answers

Upload with Ajax and formData does not send data

I have a problem and I can not solve it, I'm trying to upload via ajax and php , I already got some tips here for SO , but I still have problems and I know the big chance of doing something bullshit is great. I'll try to show....
asked by 01.02.2017 / 13:06
3
answers

How to put scroll at end of div?

I have the following div <div style="height:300px;overflow-y:auto;"> ... </div> Inside it will have several texts and will make the scroll appear. When I refresh the page the scroll is at the beginning, but I need it to s...
asked by 30.08.2016 / 04:17
6
answers

How to invert the position of a div (and its contents and attributes) with another div?

I want to do this with jQuery, what is the most elegant way to do this? Assuming the following scenario, what would happen if I wanted to change position to div2 with div3? (I will not post my actual code that is too large) <body>...
asked by 19.12.2013 / 18:40