Category "ajax"

See cookies in Chrome devtools set from an ajax XHR request

I have a page on localhost:4000 that has a cookie set by the server. The page also contains a script that successfully makes an XHR request back to the server

Is it possible to pass a parameter/single form element to a controller via unobtrusive AJAX in ASP.Net Core?

I've got a ASP.Net Core MVC app and I have the need to have certain elements update on a click. For example, a create a person form that searches for an existin

XERO API Develop show me the cross-origin when Request TenantId visa ajax request

Since I develop the api of the xero, when I get then token is right[https://identity.xero.com/connect/token], but then i request tenantId[https://api.xero.com/c

how do basic jquery ajax in typo3 flow?

I am trying to do some very basic ajax. I just want an onchange event on a select that will call an ajax function that will get the options for another select

event.preventDefault(); only works some of the time with submit form

I am using the Mailchimp API to submit a form. The goal is to prevent the default callback provided by Mailchimp. The majority of the time event.preventDefault(

How to get AJAX to post on second page?

This is what is happening: I send data but and I have it coded to echo out on second page. However, it just echoes out on first page. How do I make it so it ech

500 Internal Server Error on Ajax request. Not sure the origin of the problem

I'm getting 500 Internal Server Error and I can't figure out the origin of the problem. This request is supposed to delete a comment with a certain id from the

Pass an image through AJAX [duplicate]

Basically I want to pass a image file with ajax on submitting a form and retrieve the image and send it by email as an attachment file: Here'

How do I Post to .txt document before form submits

What I am trying to do is before I submit a form to Mailchimp with someones email I want to write that email to a .txt file. Mailchimp is using a "get" for the

How to compress web service response json in ajax call

I am using asmx web service and calling it through ajax as $.ajax({ url: 'xxxxxxx.asmx/Getxxxxxxxx', method: 'post', contentT

Send same name multiple checkbox values via ajax

I have multiple checkbox input elements. <input type="checkbox" name="userpages[]" id="1" value="1"/> <input type="checkbox" name="userpages[]" id="2

Creating live search with AJAX and CodeIgniter

I'm trying to create a live search feature in CI (which I've never done before). I'm pretty new to web development and am still learning things. I found this li

Select 2 "ajax results could not be loaded"

Sorry, but can't find a resolve. Whenever i try to do some searching, select2 will show 'The results could not be loaded'. I think my ajax settings is wrong

textbox value change event not getting fired jQuery

I am filling texbox value through ajax call. I want to change event get fired when the value gets filled. ajax call: $.ajax({ url: 'ajaxExecute.aspx/GetCust

Ajax GET request fails in laravel 8

when i try to send a GET request with tutorial ,but its not working and end up with 500 internal server error I cant find any error by searching on forum or sta

ElasticSearch Access-Control-Allow-Headers header is not present

I am making a POST request from a local https server to an ElasticSearch endpoint which has been configured as follows http.cors.enabled: true http.cors.allow-

Debugging ajax flow

I am really confused on a program that I made. A few days ago, it was working just fine, but now I am having problems with initializing it. I think I've figured

result of my js calculation is not stored in mysql

Good day, I experimented with a simple JS math calculation. this calculation works as expected, but additionally I wanted to store the math calculation in a dat

admin-ajax.php - the server responded with a status of 500 (Internal Server Error)

I've drawn a complete blank with this if anyone can help. I have migrated a website from from a NGINX server to Apache. The installation works fine on NGINX but

Increasing Ajax request timeout in ExtJs

Is there one single configuration in ExtJs library to increase Ajax request timeout? I have tried following two configurations but neither helped: Ext.overrid