220,817 questions
0
votes
1
answer
73
views
ASP.NET webforms Ajax to pass data from aspx to code behind
I need to pass some data from an .aspx file to its code behind file.
<form id="form1" runat="server">
<div>
Name : <input type="text" id="...
0
votes
0
answers
70
views
Android Zebra / WebView drops session cookie after AJAX login over intranet HTTP, works on desktop browsers (SameSite/Secure?)
I’m running a web app on an intranet IP over plain HTTP and seeing inconsistent login behavior on a Zebra PDA using an Android embedded browser or WebView. Desktop browsers work reliably.
Login is ...
1
vote
1
answer
73
views
jQuery Ajax POST operation doesn't pass data
I have this script on my main page. There are quite a few lines that are not directly relevant to the Ajax request but I've left them in in case that are having some unwanted effect.
$(document).ready(...
0
votes
0
answers
69
views
Passing record id into a Bootstrap modal so modal file download button works
I would appreciate some guidance in getting my modal file download button to work.
I am developing an image library in CodeIgniter 4. The landing page is a grid of all uploaded images as thumbnails. ...
Advice
0
votes
2
replies
13
views
Chrome network tools override content not working
https://developer.chrome.com/docs/devtools/overrides
when the API name is followed by a number like ?_=*, the override always fails. Is any additional configuration required
overrider a api like
/...
1
vote
0
answers
85
views
Cascading dropdowns stop working after rendering form via Ajax in ASP.NET MVC
I have an ASP.NET MVC form with cascading dropdowns (Category -> Sub Category).
Everything works fine when the form is rendered normally in the view.
However, I changed my code to render the form ...
1
vote
0
answers
122
views
HTML not executing code from external JavaScript file
I wrote ajax for django to add products to cart, I use internal js which runs but when I put that code in external js file it doesn't work, Although I received the ID and csrf_token.
html
<main ...
0
votes
1
answer
79
views
Json is not returned to the calling Ajax
I have a form in a partial view. The view receives a "model".
@model EditUserViewModel
@{Layout = null;}
<form asp-action="Edit" id="EditUser" method="post"&...
0
votes
1
answer
83
views
My Ajax web method call in C# keeps showing an error: "401 Unauthorized"
I'm trying to call a simple static WebMethod in my ASP.NET Webforms page using jQuery Ajax, but it doesn't seem to be working. I've tried enabling anonymous authentication and other fixes suggested ...
1
vote
1
answer
107
views
getting a 400 error with wordpress ajax call and I don't know why
I know this has been asked 1000 times already, but I'm not seeing anything wrong in my code and am still getting a 400 error (XHR).
Here is the code from my plugin:
require_once( plugin_dir_path( ...
0
votes
1
answer
100
views
Downloading file via ajax throws security error in browser in Preact web app
I'm trying to rewrite an old HTML and plain JS frontend project using Vite and Preact. I created the project as suggested in the Getting Started docs via:
npm init preact
The basics seem to work fine....
0
votes
2
answers
95
views
Correct Report not selecting date on Calendar change
I have an .aspx web form. When Ajax Calendar is changed, I'm not being able to capture date since there is no Selection_changed event firing. I tried to fire one, but that is also not working. Not ...
1
vote
1
answer
59
views
How to prevent RxJS to stop pipeline execution on the first exception
I'm trying to make 3 sequential GET requests using RxJS ajax operator. If one of the ajax requests throws an error(404 status code, for example), the rest won't execute. Is it possible pipeline to ...
1
vote
0
answers
146
views
Send array of objects to .NET controller action
I am trying to pass a javascript array of objects to a .NET controller action List<> parameter. Below is my C#
public bool ImportACE([FromBody] List<Element> elements)
{
foreach(...
0
votes
4
answers
77
views
How do I make a jQuery form fire success and failure code?
I am trying to use a javascript form to submit data to a server I control. The form works great and the data is submitted to the server, but I can't get the javascript success and fail subroutines to ...