Category "ajax"

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

get json array from servlet using ajax

I have to json array in my servlet. I want to fetch json array value and print in to jsp page using ajax. below is code JSONArray htags = new JSONArray();

Response to preflight request doesn't pass access control check

I'm getting this error using ngResource to call a REST API on Amazon Web Services: XMLHttpRequest cannot load http://server.apiurl.com:8000/s/login?login=faceb

The usage of `header("Content-type:application/json");`

I just created an JQuery ajax function to retrieve some json-encoded data from PHP, here's my code : file name : bank.php $('form').on('submit', function(){

CodeIgniter 4: Like and Dislike Functionality

I have implemented the following like/dislike code inspired by Code with AWA. EDIT I'm using CodeIgniter now if that changes anything. I have updated my questio

Autocomplete shows only message N results are available, use up and down arrow keys to navigate. instead show list

my problem is clear. I'm using jquery autocomplete and i don't know why it shows me only the message: 9 results are available, use up and down arrow keys to n

To set the value to a (textbox) server control using jquery ajax

In the below mentioned code, I am able to set the value attained from ajax call only if I am using the HTML controls(button and text). If I am using asp server

Azure Web App does not load .json file

I have a problem with an Azure Web App, as it does not load a .json file that is located on the server. The app is running fine until it needs to load the data

Upload file to my google drive with Google Apps Script (NO FORM IN GOOGLE)

so basically the task is quite simple, but I didn't find any workable solution for my problem. I have a huge upload script on my website (at the moment localhos

Getting "Unreachable code no-unreachable" in ReactJS

I am new to create GET requests in React. I am trying to fetch media_id from Instagram Content when someone enters the url in the input field. The interesting t

Open a popup box after receiving result from ajax

i have a ajax code that works properly and gives the desired result. I want to modify this code and want that when a reply is received from ajax a popup/modal b

Laravel csrf token mismatch for ajax POST Request

I am trying to delete data from database via ajax. HTML: @foreach($a as $lis) //some code <a href="#" class="delteadd" id="{{$lis['id']}}">Delete<