Questions tagged as 'ajax'

1
answer

Problem in updating user password through ajax in laravel 5.3

I have a table where I list all the users I have in the database and I have a td where are the actions for them that contain two buttons load balance and change the password at the moment that I am trying to do and change the password and...
asked by 27.01.2017 / 12:37
0
answers

Send text along with FormData Ajax file

I'm doing a test with the script below, for file upload: function uploadFile(){ var file = _("file1").files[0]; // alert(file.name+" | "+file.size+" | "+file.type); var formdata = new FormData(); formdata.append("file1", file);...
asked by 28.11.2016 / 13:06
3
answers

Local communication through online application

I am developing a system for ordering from a snack bar / pizzeria. Let's suppose that the waiter places the order with the Tablet ( Android ) on the customer's desk or the customer goes and requests the receipt ( Windows ). Depending on the requ...
asked by 09.10.2016 / 01:23
0
answers

Uncaught SyntaxError in an ajax code

I'm creating a chat, but on the console it gives the following error: Uncaught SyntaxError: missing) after argument list Code: link What can it be? Thank you!     
asked by 25.10.2016 / 08:33
1
answer

Handle exception on Ajax jsonp return

Personally I'm calling the service this way: $.ajax({ url: minhaurl, type: "GET", dataType: "jsonp", contentType: "application/json; charset=utf-8", async: false, success: function (result, status, request) { co...
asked by 24.10.2016 / 15:19
1
answer

Cities with the same name using GeoCharts

I'm doing a project, using GeoCharts, how I'm working all the municipalities all over Brazil, there are some cities with the same name, when I show these cities, they appear in the wrong state, has anyone ever had this problem? In the following...
asked by 21.10.2016 / 02:11
0
answers

JQuery / Ajax / JSon - Get to the JSon

I have an array and I need to get to it with jquery / ajax, the problem is that I do not know how to get to it, it's being created by php $json = Array(); then I make a push array like this: array_push($json, array( 'nome'=>'test...
asked by 19.10.2016 / 17:31
1
answer

PHONEGAP AJAX getting ip along with url

I'm making a simple request using the phonegap: $.ajax({ type: "GET", dataType: "json", url: "http://mydomain.com/request", data: params, success: function(result){ }, error: function(e,...
asked by 10.11.2016 / 02:42
1
answer

Form with Ajax / Json / PHP

Alright? could they help me with the following problem. I see several people talking about creating forms with Json / Ajax and everything, but like, I'm way out of this still. But I had the need to prepare a form as follows. The form wo...
asked by 23.10.2016 / 01:11
0
answers

Login with Ajax and PHP with redirection

Hello, I'm trying to login, but I'm encountering the following when I log in, it redirects to the same div of the page, instead of going straight to another page. Does anyone have a solution? HTML <div class="loader" style="display: non...
asked by 04.11.2016 / 14:44