Questions tagged as 'jquery'

2
answers

Event fires only second, after sequence of user actions

I have a form where there is a table. At the bottom of this, there are buttons to manipulate the rows of the table, and only the selected ones will be affected. StepstoReproduceProblem jsfiddle to check the problem result of fiddle to t...
asked by 17.05.2014 / 01:31
2
answers

How to calculate installments (R $) and fill in inputs?

I would like help to implement the calculation of plots and fill / create the inputs according to the number of plots. Code below and link : $(document).ready(function(e) { $('#condicao-pag').on('change', 'select', function() {...
asked by 24.12.2016 / 21:05
2
answers

jQuery is still "needed"?

I have recently been asked about the real need to still use jQuery in new web projects. I know that it was, until recently, the best (and in many cases the only) way of handling HTML elements and make Web requests without worrying about differen...
asked by 02.05.2015 / 01:59
2
answers

How to enable and disable links successively?

I have five links, and initially only the first link is enabled. When this first link is clicked, I want it to auto disable and enable the next, that is, the second link, and when the second is clicked, that auto disable and enable the next, and...
asked by 20.01.2016 / 00:57
1
answer

Division between integer and real returns NaN

I'm not sure how to do this: var tamanho = parseInt($("#tamanho").val()); var valor = $("#valor").val(); var valorMl = valor / tamanho; console.log(valor, tamanho, valorMl); valor returns 3,50 . tamanho returns 3...
asked by 31.12.2016 / 17:00
1
answer

How to create a Radio button with image?

How can I make a Radio Button become an Image? I need to make a gallery of images inside a form so, clicking on the image would be selecting a radio button as in the image below:     
asked by 26.12.2015 / 23:28
2
answers

Image inside round div

I have a div block with height and width of 55px and border-radius: 100%; and I want for an image inside, but if the image is rectangular and I leave it with border-radius: 100%; she is oval! You have how the div overlays the image and covers th...
asked by 30.06.2015 / 16:41
2
answers

How to disable field in form using JQuery

I have a registration form where the customer types the zip code by Request using Ajax to get the address, the neighborhood, the city and the state. But how do I disable these fields after they have been populated with the Ajax result? I need to...
asked by 22.07.2015 / 20:00
3
answers

on ('change') shoot at every click

How do I do that every time I choose an option it triggers an event. In the example below it is already with the selected one. I wanted that even if I choose it again it shoots without having to switch between one and another $('select').o...
asked by 15.10.2018 / 19:59
2
answers

Recognize aria-selected="false" with jQuery

How do I make a jQuery that recognizes if aria-selected="false" and if true change the background of the "arrow-btn-sub" div to another image (arrow img). This is part of an accordion and I want to change the img of the arrow when the par...
asked by 13.02.2014 / 12:01