220,941 questions
2
votes
1
answer
75
views
Calling server-side method with AJAX from button in dynamic divs
I'm learning how to call C# code from a razor page with AJAX, so please bear with me.
In the html, I create a container of divs based on a foreach loop. The divs are created correctly and the modal ...
0
votes
2
answers
42
views
Google pie chart displaying vertically not horizontally when loaded by ajax
simple pie chart example from google chart displaying pie chart vertically when onclick loaded by ajax , when same code loaded in simple web page displaying horizontally.
<script type="text/...
0
votes
1
answer
30
views
Wordpress ajax 400 frontpage is_admin
I have the following code in plugin:
php
var_dump(is_admin());//false (just for test)
if(is_admin()){
...
}else{
add_action('wp_ajax_mvp_reel_get_comments', 'mvp_reel_get_comments');//PROBLEM ...
0
votes
1
answer
48
views
PhantomJS frozen stuck at blank terminal after trying use $.ajax
I have been porting my code to PhantomJs and have been having a hard time with using $.ajax in Jquery. My code runs perfectly when the function call is dropped. I am new-ish to JavaScript other than ...
1
vote
0
answers
49
views
MathJax not rendering equations in WordPress AJAX-loaded content (renders only after manual typesetPromise())
I’m building a custom WordPress plugin that loads math-based questions and answers using AJAX. These questions contain LaTeX-style MathJax expressions (e.g., $$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$)...
1
vote
1
answer
77
views
ajax/fetch promise not resolving in Chrome iOS mobile [root cause unrelated]
Similar questions
chrome mobile jquery ajax POST not working = Seems like it should be the same problem, but asker apparently was unable to reproduce after publishing to remote server.
Context
...
0
votes
0
answers
185
views
How to implement a custom Add to Cart button to Shopify's Dawn Theme?
I have attempted to create a custom Add to Cart button for the Dawn theme (using AJAX functionality) based on the dev notes for Cart API (https://shopify.dev/docs/api/ajax/reference/cart).
I have been ...
0
votes
1
answer
176
views
Why doesn't my DataTable load dynamically when the page first loads (works only after refresh)?
I’m using DataTables with server side processing and an AJAX call to load the table's data based on a selected dimension. However, when the page first loads the table is not populated with data until ...
0
votes
2
answers
137
views
How do I revise Ajax code from dropdown to text input?
First, apologies in advance as I am a newbie when it comes to Ajax...
I have looked at several coder sites for a working example of the code needed to process a simple text input and database response ...
1
vote
0
answers
12
views
JSF update bean asynchronoulsy from PrimeFaces selectOneMenu [duplicate]
Hi have A jsf page where there is a PF selectOneMenu . I simply want to update the model bean (SessionScoped) with value selected from user but it doesn't work : when I change value on page no setter ...
0
votes
1
answer
107
views
Spring Boot Upgrade (1.5 → 3.4) Issue: AJAX Call to /set-preferences Routes Incorrectly
I recently upgraded my Spring Boot application from 1.5 to 3.4 and Java from 8 to 21. After the upgrade, an AJAX POST request to /set-preferences no longer reaches the controller. Instead, it seems to ...
1
vote
1
answer
93
views
How to make temp 2FA QR code in Perl based Web Application
How do I make and display a QR Code for our 2FA in our Perl based web application?
My use case is to generate a 2FA QR Code based on an encrypted otpauth path that can be scanned by Google ...
0
votes
2
answers
167
views
Problem with Ajax in Laravel 12 Yajrabox Datatables
When I try to execute datatable with ajax in the TeacherController function show(Teacher $teacher) with foreign_key, I get Ajax Error even though in AssistanceTeacherController it does work in its ...
0
votes
0
answers
54
views
POS System - Unable to Toggle 'Show Receipt' Feature Based on Setting (Laravel, JavaScript, Session Management)
Problem Description:
I am working on a POS system where I need to allow users to enable or disable the "Show Receipt" feature after completing a cash transaction. The receipt should only be ...
0
votes
0
answers
82
views
I'm trying to populate 2 drop down menus. The first with the categories of photos(folder name) and the 2nd with sub categories of the 1st
I am making a website for a FiveM server. One of my pages on my website is CityLife.php. It will have a photo gallery of thumbnail images that when clicked opens up to the full size image in another ...
0
votes
1
answer
50
views
Update count on fancybox previous or next button click
I am using Fancybox for photo gallery. and using following code to update photo views on click with php mysql and ajax.
I want to update views for images when previous or next button in opened ...
0
votes
0
answers
69
views
Webview2 and ajax requests?
I have a 3rd party desktop application. This application allows one to add extensions based on html, css and javascript. I have such extension and they work fine in the current installed version of ...
0
votes
1
answer
55
views
How can I set a timeout for AJAX requests in Javascript without jquery
How can I set a timeout for AJAX requests in Javascript without jquery?
Is it done by setting up a timer and using cancelRequest? or a better way?
Many thanks
-1
votes
1
answer
62
views
How to remove null rows from items array sent by Spotify API [duplicate]
I'm trying to implement an autocomplete feature to get suggestions of playlists from the Spotify API. I'm able to connect and get a response from Spotify, but some of the rows in their response are ...
0
votes
2
answers
72
views
vba selenium - unable to access website elements after ajax loads data
Theres a website I need to scrape some data from using vba selenium chrome. Website loads a table with ajax, and I can wait for the table to fully load, however, I cannot access the loaded elements. ...
0
votes
2
answers
61
views
How can I get @click or v-on to work with dynamically loaded data with VueJS?
So I have a div...
<div id="holdmailings">
</div>
when I click on a menu item I'm loading this into the DIV with an @Click on a menu item...
if (msg == '...
0
votes
1
answer
90
views
Woocommerce - ajax load more not working when ajax filtering by two or more categories
I made a code for woocommerce product listings with ajax load more by scroll and ajax filters by category - all works great, but there is one case, when it didn't. Only on the main shop page when I ...
2
votes
1
answer
64
views
Want to fix particular row at the bottom in jQuery datatables while exporting data in to the Excel
I want to export data in Excel using jQuery export button for datatables and here I have fixed grand total row at the bottom of table. The issue is: when I do sorting and then I export data into Excel,...
0
votes
0
answers
35
views
Unable to get data by sending html request [duplicate]
I am a beginner of php and I tried to write a php file to scrape data from internet and display it in the html file through ajax. My problem is: I get no problem when scraping data and storing them in ...
0
votes
0
answers
57
views
Split data of an Ajax call to multiple div in Django
I have this ajax call
$.ajaxSetup({
data: {txtSearch: $('#txtSearch').val(), prefilter: $('#prefilter').val(),csrfmiddlewaretoken: '{{ csrf_token }}' },});
$.ajax({
type: &...