Questions tagged as 'jquery'

4
answers

jQuery identifying jQuery's own change

When you click on "put", the field is populated with "changed" information, but when this happens, Next change does not identify this change. In practice this does not work, how can I make it work? HTML <button id="botao">...
asked by 10.02.2014 / 14:47
2
answers

Is it possible to make a file upload system without using php, just with jquery?

I have already researched several websites but I never knew if it was even possible, can anyone help me?     
asked by 27.02.2014 / 00:56
3
answers

Apply effect when changing value of an input

I need a help with an effect I wanted to do, but I'm not getting it. I have an input of type range that goes from 1 to 10 , being its default value 5 : <input class="i1" type="range" min="1" max="10" value="5"> W...
asked by 09.01.2018 / 22:48
2
answers

JQuery click event in .class selector

I created several div using jQuery where I assign them to the CSS class numero : for(...) textoHTML += "<div class='numero par'>"+sorteado+"</div> <!-- numero par-->\n"; ... textoHTML += "<div class='numero im...
asked by 28.02.2014 / 05:08
2
answers

Not being able to call the same variable out of function

I'm not able to call my variable pt1 out of function(data) and within function getImageItem . Being function(data) is within function getImageItem . function getImageItem() { var item = ""; jQuery.ajax(...
asked by 07.01.2016 / 16:41
3
answers

Calculate mean only in the fields typed

Hello, I am programming a system in which it calculates the average of some fields. The point is that not always all values will be reported and the average should calculate the fields in which there are values, ie the calculation of the mean wi...
asked by 20.04.2016 / 14:47
2
answers

How to sort a table from A to Z?

I have an HTML table that brings information from the database. I would like to know if there is any way to sort from A to Z and vice versa and vice versa by clicking on the name of the column in the table? This data is not fixed, it is dy...
asked by 24.05.2016 / 18:52
2
answers

Add real Brazilian currency div

The script is adding, but only numbers. I would like to have the values with periods and commas. For example: 1,000.00 + 100.00 = 1.100.00 Does anyone give this strength there? Follow the code below: <script src="jquery_somar.js"&g...
asked by 14.08.2016 / 05:09
3
answers

Formatting numbers with jQuery

Hello, I have an array that is returned through an AJAX request and I want to format the numbers for each of these keys as follows:    Example: Default values -> 2569 -> 192544694 How would you like them to be formatted...
asked by 29.12.2016 / 21:47
2
answers

Toggle text and class of a link when clicked - jQuery

I'm trying to delegate a click event to a link inside a table, as this jsFiddle sample shows : The result you can see is: By clicking the " Enable " link, the click event assigned to the .activate class is triggered,...
asked by 15.10.2015 / 06:04