Category "ajax"

how to show success message without refreshing the page in django

I have a template called basket whenever I want to update the product quantity it works fine but the success message doesn't show until I refresh the page view

Content-Disposition: download file automatically

The API call to the server is returning a zip file with Content-Disposition in format attachment, <filename> I am using FileSaver's saveAs to save the fil

Variable returned by Symfony controller always undefined

Ok, so I have a text field in which I type a string and I have a button next to it. <div class="sidebar-search"> <div class="input-group custom-se

Insert into multiple input fields using select2 and ajax in laravel

I am trying to use a single select request to retrieve data from database based on the search term "name" and populate my input fields using select2 so that i d

JSF 2.2 (Mojarra) calls f:ajax twice in nested composite:component

i've got a pretty simple example: there is a nested composite component. on my index.xhtml is a component called "ht:wrapper" to which are registered some ajax

How do I save data, that would normally be in a database, to a SharePoint folder or the site's root folder

I'm working on a project for my employer that is off-job-description for me. I am not in my department's IT/WebDev departments. That being said, my department i

PHP sends an empty Response Payload instead of JSON

Sorry if I'm not good at formulating questions or if this isn't a good question, but I've been trying for days and getting no progress on this and I'm ready to

Token doesn't get refreshed when sending request with Ajax

I'm using IdentityServer4 as a centralized auth server. I have a mvc app that acts as a client and works as expected unless I open a modal. When the user presse

WooCommerce - How can I add multiple, products to cart using ajax with same add-to-cart-Button?

I am trying to use ajax to add multiple, different products to cart with one button click. The AddToCart-Button is living in SHOP before pagination. Ajax reques

ajax load method and a while loop appears to only return 1 row

So i am calling a load method in ajax on my table. <?php include_once "inc/Header.php"; ?> <body> <head> <link rel="styl

Paypal Checkout onShippingChange won't work with Ajax-Call

When a customer changes the shipping adress in the paypal checkout I am fetching it with "onShippingChange". However when I check the given adress and deny it o

POST <APIURL> net::ERR_NAME_NOT_RESOLVED

I'm trying to create a simple web application form. It requires the user to input their information, and click submit which ideally would hit an api and store t

I display a table with ajax in real time and I check some lines which I return in my views

I have this problem in summary: when i fill my input automatically i display an array using ajax , and on the same table I shock a few lines and when I send bac

Why are Ajax pages not working with pushstate framework 7 v5?

I’m facing an issue, hope someone helps I have pages of classes eg. Events, decorations, etc and I’m using desktop layout (admin dashboard template

PHP variable binding issue with html from controller for ajax response

Controller: $html = ""; $user_id = 10; $by = 'By Aaron'; $getLedgerData = "getLedgerData('" . $user_id. "','" . $by . "')"; $html .= "<a onclick=" . $getLedg

How do I get html response from axios?

I want to run some html parsing on a page.I want to know if I can get the whole html page source code as a response. I think I will be using node-html-parser np

Modal not showing laravel 8

` I wanted to make modal that appear when the user wants to delete the album but its not showing and i dont know the reason the modal is created but not showing

PHPmailer: Failed to load resource: the server responded with a status of 500 (Internal Server Error)

I am trying to email a form data with phpmailer. I am stuck with it. for some reason I am getting Failed to load resource: the server responded with a status of

How to set the default value of Date Range Picker to null

I am using Laravel framework. I want to create a date range filter using ajax. but I have a problem with the daterangepicker that I use this is my view this is

What to return after Ajax call asp.net

After ajax call is completed and the model is posted successfully to the controller, what should the controller return? In my case, I just want to add an item t