Skip to main content
0votes
0answers
12views

ajax append function success data

I’ve been trying to figure this out for days but i can’t get it to work I have this piece of code: form_data. append ("amount", amoun form_data. append ("name" , name) sajaxli ur1: ...
Ricardo Lopez's user avatar
-1votes
0answers
22views

How to properly handle and display ASP.NET MVC API validation errors in AJAX responses? [closed]

I’m implementing AJAX-based teacher updates in an ASP.NET MVC 5 application with server-side validation. While my API correctly returns validation errors (e.g., 400 Bad Request with ModelState), I can’...
Oyemahak's user avatar
0votes
1answer
35views

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 ...
Matthew Mills's user avatar
0votes
2answers
80views

Session variable not updating during loop in PHP?

I'm facing a problem with my app. It's in a JS-PHP environment. I've made a minimal reproduced example below. script.js: function postToHandler(){ let xhr = new XMLHttpRequest(); xhr.open(&...
Abb's user avatar
  • 71
-3votes
0answers
10views

Want to know if there is any standard Media Queries Breaking Point [closed]

Please I want to know if you guys have any breaking point for building designs in media queries, like what is the min/max width for mobiles, tablets or desktop etc. Cause i am confused, i am thinking ...
Jibare01's user avatar
1vote
0answers
35views

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}$$)...
Annant Srivastava's user avatar
-3votes
0answers
103views

Why JQuery AJAX POST sends null value? [closed]

I'm new at JQuery-AJAX. I've a form in index.php file. When clicking the first input(id="d_code") it opens a div(id="d_codes") which has been filled with some li tags which have ...
ilyas's user avatar
0votes
0answers
34views

Using 0 after selecting form to reset [closed]

I didn’t get why we use 0 after selecting form to rest in jquery? Can anyone help I tried on beforeSend method in Ajax jquery, but I found we can reset the total form with reset() option, and can show ...
SadiqFazli's user avatar
-3votes
1answer
53views

JavaScript function not returning array [duplicate]

I have an ESRI 3.46 JavaScript application. There are a couple of functions which return data from an API. I am looping through the results and creating an array to be returned to other areas of my ...
CRayGo's user avatar
-1votes
0answers
57views

Array values discrepancy between backend and frontend [duplicate]

I've been working on a Wordpress plugin to retrieve a directory structure from my server and display it in a webpage. I have a working demo, but there is an issue that I don't understand. I construct ...
pGil9's user avatar
-1votes
0answers
69views

Having trouble with ajax and returning checkbox state(s) and textbox contents to Python [duplicate]

Wondered if anyone could help as I'm having a bit of trouble. I can successfully return the state of an array of checkboxes to Python/Flask. But, I cannot for the life of me return the textbox ...
shopegg's user avatar
1vote
1answer
59views

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 ...
owengall's user avatar
1vote
1answer
77views

HTML Details tag load only specific content that is clicked

I am using the wonderful details tag as follows, which expands the content when a link is clicked: summary::marker { content: " "; } summary { color: blue; text-decoration: underline; cursor: ...
levent001's user avatar
0votes
0answers
33views

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 ...
Joe Plant's user avatar
-5votes
0answers
58views

PHP Guestbook form returns 200 OK, but data is not inserted into MySQL database [duplicate]

I'm building a simple guestbook using PHP and MySQL, and hosting it on a server. When I submit the form, the network tab (F12) shows 200 OK, and the JSON response is {"status":"success&...
Aiden_P's user avatar

153050per page
close