Questions tagged as 'ajax'

3
answers

Error passing through Ajax Parameters for function in PHP class

Is the first time I try to pass parameters from the ajax to my function that is in a class in php, so I ask, why is not it working? searching the forum vi I could put data: { var1 = 'var1', var2 = 'var2', }, Ajax - Code has been fix...
asked by 26.08.2017 / 05:11
2
answers

Error receiving array from php in ajax

I have a script like following code: $("#submit").click(function(){ var dataString ={ nome : $("#nome").val(), status : $("#status").val(), id : $("#id").val() }; $.ajax({...
asked by 05.08.2017 / 20:11
1
answer

Ajax pagination

I have a normal paging code, it's working correctly, but I'm not able to insert ajax into pagination. Actually as I'm using functions, I do not know how to call the "paginglink" function in the AJAX url Another point is that the code has...
asked by 09.09.2017 / 08:08
1
answer

Retrieve dynamic checkbox value in php

I have a table where one of your columns is a checkbox, I need to do when the checkboxes are selected click on a "Delete Selected" button where it is possible to retrieve for me all the selected Checkbox values. This HTML table comes from an A...
asked by 28.07.2017 / 21:04
1
answer

Write AJAX Data

I need to send data via ajax to write, and one of the information is an array, but the array loses position when I get it in PHP, I do not know if there is a size limit for the AJAX object sent, if I need to split the array in several how would...
asked by 21.07.2017 / 15:53
2
answers

jQuery / AJAX: a single form that can be submitted to different urls (POST or PUT)

I have the following scenario: I have a form that is used to register or change a teacher; To register I have a button at the top that calls the modal to do the POST; To change I have a button on each row of the teachers table that calls...
asked by 16.08.2017 / 02:53
1
answer

jquery ajax printa index on screen

I am having problems with jquery because it invests of printar on the screen only the echo of my php it is printing all index on the screen how to solve this? <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js...
asked by 07.07.2017 / 17:47
1
answer

AJAX return JSON size

I am having doubts about using AJAX, I am making a function to build a list according to some filters. Everything is working perfectly, I return the JSON and I mount the table. The problem is when my return contains a lot of data. It seems...
asked by 06.07.2017 / 16:19
3
answers

Delete records without refreshing page

I'm trying to delete records without having to refresh the page, however I'm not having success, the records erase but the table only updates if I give an F5, I'm trying to do this via ajax but it's not rolling, can someone give me a light ? Her...
asked by 27.07.2017 / 02:34
1
answer

Apply style to table in javascript

I have a table <div class="container-fluid" style="margin-left: -29px; margin-right: -29px"> <!--Striped Rows--> <div class="row clearfix"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-...
asked by 03.07.2017 / 14:56