Skip to content
Advertisement

Tag: ajax

Ajax Status Pending On Multiple Requests

I want to create a jQuery Progress Listener. I have a button which on click executes a PHP script, which runs through a bunch of functions and foreach loops and it takes a while to load. I want to get a response on each loop using the XMLHttpRequest(). I am using this youtube video as a reference. But the scripts

Buttons with dynamic ajax text

In my php page I have a row of buttons which each have some values (5 in this example). These values shall be send into a ajax script which do some calculation to values and return the result for each button without reloading the homepage. In this example the result will be FRANK=5 (button 1) FRANK=frank (button 2) FRANK=48 (button

Django refresh page without reload whole page

I want to refresh the page at certain intervals, for example, every 10 seconds, without reloading the page. I’m sending get request to api. My ajax codes refreshes the page well but it’s causing problems because it loads all the divs again and again. How can I make the div-focused refresh delete the same previous div when refreshing? hmtl; url.py;

data through ajax for tagify whitelist

I’m trying to get the data through ajax for tagify whitelist. but I get the following mistake code is: when I test it with “alert (response);” displays the data – [‘123′,’333′,’763′,asd’] Answer You are trying to access a local variable from callback response as global variable.

How to reduce loading time of a table when scroll using js

How can i reduce the loading time of a <table> that contains 20000 rows ? the page is very heavy when i scroll, it takes 4/5s to display the rest of the table. I don’t have any idea how to do that, that’s why i didn’t put a code. Answer For this type of problem basically the solution is to

search autocomplete ajax in laravel

I am using ajax for live searching, but the problem is that It is shown only one result when I am using .html() but when I am using append() it works but every word i write it to duplicate the results, here is my code: in controller, ajax code in blade Answer Yes you set your content in your loop

Advertisement