Questions tagged as 'jquery'

1
answer

Post via POST in Jquery

I'm working on an implementation of Datatables, but there was a need to send the id to do the filters: $(document).ready(function() { var dataTable = $('#employee-grid').DataTable( { responsive: false, "order":...
asked by 17.07.2017 / 22:50
2
answers

Select combobox from a click on the table row

I have a combobox and a table: I would like every time when clicking the table, select the item in the combobox according to the click. Following is an example of the problem. Try to click multiple times in the table. At first it works,...
asked by 14.07.2017 / 15:33
2
answers

How do I get content from a div with the same class?

I think the title is quite self-explanatory but come on, I have a return from a json that comes from an sql, which can give me the following situation <div class="conteudo-select" style="display: block;"> <div class="...
asked by 28.07.2017 / 16:00
3
answers

JQuery does not execute correctly

I'm creating a sidebar that will contain some accessibility options. The big one is in parts the sidebar is working properly. 1st Clicking on the accessibility icon, the sidebar opens normally, if you click the icon again, it closes and click...
asked by 05.10.2017 / 15:42
2
answers

Select class from load

I have a page that loads by load from jQuery as shown below: <div id="result"></div> <script> $('#result').load('listar.php'); </script> On this page listar.php I have a list of data coming from the...
asked by 09.09.2017 / 04:25
3
answers

Placing Parcel Value Dynamically

I have a Form with 3 input 1 Total value 2 parcels 3 Par Value I need to fill in the total value and the number of parcels, and fill in the parcel value. Does anyone have a solution in JavaScript or Jquery ??     
asked by 12.09.2017 / 22:42
1
answer

Select with state and city search

I'm here creating a form where the person should choose the state and after selected the list of corresponding cities is loaded in the other select, I'm using a ready library cities-states-js , so far so good, only that I had the idea and also...
asked by 05.10.2017 / 15:47
2
answers

Add Checkbox fields in Loop

As I am not aware of javascript I would like a little help on how I can make this script work within a while and cause it to also add the decimal places outside the loop. It works the most inside the bug how to fix this while ($row = $ret...
asked by 19.06.2017 / 03:07
1
answer

.Each in two elements with values in different variables

I have two elements, EndTime and StartTime that are two inputs and both have the class time. With each one you need to have the value of the two separated into variables. $('.hora').each(function (){ var horaFinal = $('.horaFinal').val();...
asked by 21.06.2017 / 15:34
1
answer

How to get div child with contains

In this case I want to test the div with class name , but after testing I want the CSS changes to be made in the div with class teste . <div class="teste"> <div class="name">um nome</div> <div class="outrad...
asked by 17.06.2017 / 18:47