Questions tagged [ajax]

AJAX (Asynchronous JavaScript and XML) is a technique for creating seamless interactive websites via asynchronous data exchange between client and server. AJAX facilitates communication with the server or partial page updates without a traditional page refresh.

-2
votes
0answers
12 views

Uncaught SyntaxError: Unexpected identifier. Ajax JQuery

first of all, i'm sorry if my english is bad.Please help me with this error :)i want create a live search data on laravel, and after i write code like on tutorial youtube, my data is not showing. ...
0
votes
0answers
15 views

ajax error when returning json value using asp c#

Hi I am getting an error when my webservice return a json string format.[{"name": "Process Time - FCP","color": "#7E57C2","yAxis": 0,"data": []}, {"name": "Process Time - ...
0
votes
1answer
8 views

Abort chain of AJAX requests with jQuery deferred

I am making a chain of AJAX calls like in the example below, which I found at http://www.dotnetcurry.com/jquery/1022/jquery-ajax-deferred-promises.How can I adjust the code to prevent that function ...
1
vote
1answer
14 views

Ajax submit an image with form - pass the FormData - trigger submit

I simply want to use ajax to submit a form with an image from a phone.If I use the below code as a simple function - the form data is not passed.If I use the code as is - it works but the user has ...
2
votes
0answers
20 views

jQuery AJAX is being interrupted without error

I am working on the following code using PHPStorm. I have three files:* loginForm.php (the html/php/javascript for logging in)* firstlogin.php (php code that send variables to public function)* ...
0
votes
1answer
11 views

Javascript - FileReader how can I read and process each file at a time among multiple files

I am trying let the user drop multiple excel file and extract desired values from each one of the files and upload it to website ONE FILE AT A TIME.My code is not working, and I am assuming this is ...
-1
votes
0answers
6 views

Invalid API Key while accessing endpoint

Ok, so i've been trying to fetch data from an endpoint but just can't seem to do so. I keep on getting a 403 even though I have the correct API Key, can anybody please tell me what's wrong in the code ...
0
votes
2answers
29 views

JQuery - unable to pass formData with other parameters

I am trying to pass formData along with other parameters to a PHP script.Using the $.post method, I was getting an 'Illegal Invocation' error. So I abandoned the $.post method and went to $.ajax ...
1
vote
1answer
35 views

ajax not calling php, php works when called directly

I know this has been answered before, but I still can't seem to find a solution that works for me. I have a form submission that is not working with the ajax call. I'm pretty sure its not the HTML or ...
0
votes
0answers
14 views

Creating Dynamic Rows with Dropdown (from mysql DB) that populates textbox inside rows via Ajax Jquery

In the above image i am creating dynamic rows (which is working just fine). However, I have then included the ability to populate the "Desc:" textbox based on what is selected in the dropdown to the ...
-1
votes
0answers
14 views

Why can't read post data from Axios/VueJS into Asp.net Core 2.0 Razor Page OnPost

I am working on a .Net core 2.0 RazorPage (not MVC) web application. I have the following code in ManageUsers.cshtmlcreateUser: function (e) {var t=$("input[name='...
0
votes
1answer
16 views

Progress bar upload file

I have a simple PHP upload form with AJAX and jQuery. And I want to show upload progress.I have tried that these codes but I see that error in my console:Cannot read property 'addEventListener' of ...
0
votes
2answers
100 views

Ajax POST FormData throw exception in Spring MVC

Yesterday I had a similar problem where Ajax POST method returned 405 error which was caused by csrf token. Someone helped mi with this, but now I'm powerless what is happening. I have an Ajax POST ...
0
votes
0answers
26 views

Javascript : how to cancel the execution of a script

I have a web page with a canvas and 2 href links to run an application (application 1 or application 2) in canvas, as follow : <canvas id="canvas" style="border:solid black 1px;"></canvas&...
1
vote
2answers
11 views

How to check if the current_user blocks the target user with Acts-as-Follower

I'm unable to check if the current_user is blocking the target user. I'm trying to create a toggle button for the block/unblock feature. I don't know how people were able to do it, unless their ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,