Questions tagged as 'jquery'

1
answer

Go to the bottom of this page

Hello, I wanted to know how to do when the person clicks, it will go to the bottom of the page. If you can teach me, I thank you !! In case it was when you clicked on any of these texts, link     
asked by 27.07.2016 / 16:24
1
answer

The total value appears

I am making a system for a virtual store, from which the user will have the value of the package. For example: R $ 12.000,00, however he will have the option to choose the travel insurance through the code below: Seguro Viagem?<br> <i...
asked by 18.08.2015 / 15:25
2
answers

How to handle a "redirect" after an Ajax call with JQuery?

Use JQuery to make an Ajax call (GET). When "redirect" occurs, code 302, for a valid response the JQuery returns error instead of redirect to the new URL. Do you have any other way to handle this?     
asked by 07.02.2014 / 19:39
2
answers

Assign selected item to a select

I have the following code: $("#cep").on('mouseout', function() { var url = "http://cep.republicavirtual.com.br/web_cep.php"; var cep = $(this).val(); $.ajax({ type: "GET", dataType: 'json', data: {'cep': c...
asked by 15.02.2014 / 14:11
4
answers

Get date-img value

I have the following problem: I'm getting the value of date-img when I hover in the .gettoll class, but I need to replace that value here content: "<img src='IMAGEM AQUI'>", when hovering over each of the items, the problem is th...
asked by 30.04.2014 / 19:54
2
answers

focus with selected text

I have an input on that I want it to have focus and the text is already selected. Focus I'm doing this: $(".autofocus").trigger('focus'); The problem is that the text is not selected. Does anyone know how to do this?     
asked by 01.12.2016 / 18:18
2
answers

Percentage calculation with JS

I am setting up a function to do the calculation using percentage. In my online test it works. link $(document).ready(function () { valorTotaldaNota = "1.000,00"; valorTotaldaNota = valorTotaldaNota.replace(",", "");...
asked by 15.05.2015 / 02:05
2
answers

Calculate value according to selected dates

I have to make a code that calculates Reais according to 2 dates informed. I have 2 inputs of type text to report a data in dd/mm/yyyy format. The A input is data inicial and the B is the data fin...
asked by 19.05.2015 / 20:59
1
answer

Execute function in scroll event of a div

I have two divs, the two have the same id, target1 . I need to get two divs in JavaScript and apply a function in the scroll event of div1 . This function will be responsible for getting the scroll value of div1 and apply i...
asked by 28.08.2018 / 20:11
1
answer

Is it possible to configure a Jquery Effect?

Is it possible to change the options in Toggle Explode ? For example: it has nine divisions by default, is it possible to modify the number of parts it explodes and the size of those parts? I also wanted to know if JQuery allows cha...
asked by 24.08.2014 / 21:04