Questions tagged as 'ajax'

3
answers

AJAX - Appear divs

How do I get a div in return of AJAX , for example: I write in the input a user, and sends the data by AJAX like this: $("#botao").click(function(){ var xprocesso = $("#segundo").val(); $.post('aquirecebe.php',{...
asked by 01.05.2016 / 02:32
2
answers

How to find out the source of the request in PHP?

Hello, I have a PHP page that receives ajax requests from another page, in another hosting, this was possible using header('Access-Control-Allow-Origin: *'); So far so good, but I'd like to know where the requisition comes from, is that...
asked by 10.04.2016 / 05:03
2
answers

Change variable value in Ajax

The Problem I have the flagExistenciaArquivo variable, and need to be updated if the file exists or not. I call the verificaExistenciaArquivo function inside another function by setting the folder of that file and filename ....
asked by 28.08.2015 / 15:59
2
answers

Handling Ajax data

Personal oops. I have a page that receives JSON data from an Ajax request from time to time in this format: { "status":"success", "total":4, "0":{ "id_user":"11", "posicao":0, "nick":"Usuario", "premium":"0...
asked by 19.08.2018 / 15:09
1
answer

Why is this script returning me an object?

I'm working with jQuery to register information in the database through Ajax and I'm not sure why this code is returning me an object type variable. The project I'm working on is being developed over a Admin Panel with the entire interfac...
asked by 15.11.2014 / 23:46
2
answers

Sending an image and other data via JQuery to PHP

I have a question that I can not find a solution to. I need to send via Ajax an image and other fields to a PHP file and save it to MYSQL database. I do not know how I can do this, can anyone give me an idea of what JQuery looks like?     
asked by 27.07.2016 / 03:02
3
answers

Check Availability of Zip Code

I'm trying to develop but I'm not familiar with programming with Ajax , jQuery and JavaScript , so I'd like help I have a field that takes the customer's zip and a button so that when he clicks the return button if that zip is covered th...
asked by 07.11.2017 / 22:40
2
answers

Request Form AJAX is updating page

I'm making a simple form to be submitted with jQuery Ajax. Data is being sent, but you are updating the normal page. I would like to know what I am doing wrong, because in submitting the form the page is being updated, but I would like this n...
asked by 13.12.2016 / 18:34
2
answers

Delete on the bank using ajax and jquery

The correct method to delete, my question is how to get the id based on the table row, and how to send the same to a page that it actually excludes. The codes I have already done will be followed. userlist.php <script type="text/java...
asked by 02.06.2015 / 22:13
1
answer

Dynamic update without page refresh

Personal oops, all right? Next, I'm doing an administrative area and would like the content to dynamically update without the need to refresh the page to see if it has anything new. For example, if the administrator is on the order page and e...
asked by 16.03.2015 / 15:23