Questions tagged as 'jquery'

1
answer

jquery function $ .post or $ .get

Instead of using ajax for return, I'm seeing the jQuery function $.post or $.get . But I can only return one column of the mysql table with an echo. ex. echo $conteudo['id']; With ajax playing the return coming from the sele...
asked by 04.03.2017 / 22:30
1
answer

JS .load method does not work [closed]

Hello, I made this code to test, since it does not work <script> $(document).ready(function(){ $("#button").click(function(){ $("#div").load('teste.php'); }); }); </script> <input type="button" id="button" name=...
asked by 11.03.2017 / 01:49
2
answers

Pass the value of a function post to another function?

$(function(){ $("#for").submit(function() { var situa = null; $.post("url", {dado: "campo"}, function(val) { if(val == 1){ situa = 'você não foi selecionado'; }else{ situa = 'você foi selecionado';}...
asked by 23.02.2017 / 15:53
1
answer

Refresh table with filter using jquery

Good morning I'm looking for solutions to a demand, but I only found in php . I am new to Jquery , Ajax ... I am trying to put the filter in my table to be dynamic as the user is typing data will appear, I searched a functi...
asked by 21.02.2017 / 15:34
1
answer

What is the way to create PivotTables in HTML and JS? [closed]

Hello, I'm having difficulty setting up a screen with HTML, CSS, JS, AngularJS. I need to mount a screen where the user chooses the amount of parcels, course; and according to this must set up: a table where the first line should contain the mon...
asked by 11.03.2017 / 23:53
2
answers

Datatables large data volume

I'm researching solutions to load a large volume of data on a page with Datatables and would like to know if Datatables already has some function in which it is requesting along the server portions of data through an offset? (via Ajax request)?...
asked by 01.02.2017 / 18:11
1
answer

How to transform a div and an input text?

I would like to know how I could transform the divs of my dynamic form into input text value when it is clicked on submit. My form <div class="container"> <h1 class="restaurant-title">Peixaria</h1>...
asked by 06.02.2017 / 14:50
1
answer

Function to send data to the bank after a while

I need a function that after 1 minute and 30 seconds sends the data to the database. After much searching I could not do this dynamically I can do it with a div appearing after this time, but I wanted the user not to click on it to work....
asked by 23.12.2016 / 19:50
1
answer

convert javascript code to jquery

How would you look at this code in javascript: var ctx1 = document.getElementById("GraficoDonut1").getContext("2d"); new Chart(ctx1).Doughnut(data1, options); legend(document.getElementById("lineLegend1"), data1); In jQuery?     
asked by 22.12.2016 / 20:27
1
answer

How to enter decimal places directly after user type comma with Javascript?

I am developing a web site using javascript / jquery and in some fields the user types numerical values. Some of these fields, by business needs, have 9 decimal places:    0.00000000 My problem is that, in such a case, to type, for exampl...
asked by 16.12.2016 / 11:37