Questions tagged as 'jquery'

2
answers

Identify DIV by complex id

I have several DIVs loaded dynamically via PHP like this: <div class="projeto" id="-9-3-21"></div> <div class="projeto" id="-3-1-77"></div> <div class="projeto" id="-5-33-1"></div> <div class="projeto" id...
asked by 22.03.2017 / 18:03
3
answers

How do I get values contained in a table?

I have a shopping cart where it provides the following information: <tr class="rem1"> <td class="invert">R$<span id="produto">270,00</span></td> </tr> <tr class="rem2"> <td class="invert">R...
asked by 17.03.2017 / 13:43
1
answer

How to leave a div with the same operation as a radio button?

I am developing an employee metric system, performance appraisal, I have <div> 's that have been table-shaped on my form to qualify each option as Rare , As times , frequent , always or N / A The issue is that I do not know...
asked by 10.03.2017 / 18:07
2
answers

load in css and jquery

I'm trying to make a load system to inform the user that the page is loading. I have a page in php that mounts a very large report, and it takes around 10 seconds to be displayed. As long as the page is blank. What I want is to put a...
asked by 07.03.2017 / 20:22
1
answer

How to use a single jQuery function without importing the whole library?

I'm making a Firefox extension and in it I import JQuery everything. In the project I only use the getJSON(); function. I searched the net and did not find much. I researched the github repositories and found some, but I do not kno...
asked by 10.03.2017 / 04:59
1
answer

How to select multiple button radios in the same column as an html table?

I have a table html with 3 columns and 3 lines and when I select, for example radio button of line number 2, line number 1 uncheck. @if (Model != null && Model.Tabela1!= null && Model.Tabela1.Count > 0)...
asked by 02.10.2017 / 19:07
2
answers

How to store AJAX return to use as a parameter of another function

Main function, which will return the value chave = data.chave : var chave = ''; $scope.submitForm = function() { $http({ method : 'POST', url : 'validar.php', dataType: 'json', data :...
asked by 10.01.2017 / 03:44
2
answers

fill input from right to left

I need two input that I have in an app to be filled from right to left ... One of the inputs is value in reais (R $) and the other is value in milliliter (ml), I'm using a jquery mask (a MaskMoney works fine rather than mobile, so I...
asked by 11.01.2017 / 14:41
2
answers

Add values with jquery, string to number

I'm trying to add some values but instead of a sum result I'm getting the concatenated values, follow the example: var a = 7.5 var b = 1.00 var c = 2.0 var d = a+b+c console.log(d) = 7.51.00.2.0 But I wanted to get the followi...
asked by 23.05.2017 / 15:07
2
answers

Insert javascript in jQuery

Why not put javascript in jQuery? If I put it in "straight line" it works, if I put it indented, to make it easier to edit later, it no longer works. Why? WITHOUT FORMATTING, IT WORKS: $j('<div class="filters"> <div class="title t...
asked by 24.05.2017 / 16:08