Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
0 answers
30 views

Ajax post request in laravel 11 return internal error 500 [closed]

I want to send an array from js to laravel 11 controller using ajax here is ajax const seats = []; function send() { $.ajax({ headers: { 'X-CSRF-TOKEN': $('meta[...
farabi momin's user avatar
0 votes
0 answers
47 views

Display div based on checkbox selection AJAX [closed]

I am trying to use the following input to display a div if checked. The input is a filter option and generates results on the same page via ajax. *The input code can't be edited, ie. no onclick event ...
Bill's user avatar
  • 79
0 votes
2 answers
65 views

Cart in Django is not updating in frontend but working fine in database

I'm making an ecom site. When customer select Product size from dropdown boxes, it sends the correct selected size in backend but showing default value in frontend. My HTML code for this: <select ...
Azmain1234's user avatar
0 votes
1 answer
38 views

Ajax post request method binding failed in .NET 8 razor page

I am having issue: I am sending simple date and consumerid to my handler method through Ajax, but in the method, I'm always getting null. I think the issue is with the date. Can anyone help me? Client-...
rahul singh's user avatar
0 votes
1 answer
34 views

Ajax post request method in .NET 8 razor page

I am having issue: I am sending multiple parameters to my Ajax handler method, one is an object (consumer), others are string and int, but in the method, I'm always getting null. Can anyone help me? ...
rahul singh's user avatar
-3 votes
0 answers
43 views

JSON-based POST using jquery and AJAX [closed]

function update_row() { // Get the raw input from the request $raw_input = $this->input->raw_input_stream; log_message('info', 'Raw input: ' . $raw_input); // Decode the JSON input $...
Chong Yen kai's user avatar
0 votes
0 answers
20 views

Green Text in Network Tab [closed]

When using Brave v1.73.101 and accessing https://home.atlassian.com/, I noticed some request names appear in green color in the Network tab, though they appear to be normal HTTP requests. The ...
saakrubber's user avatar
1 vote
1 answer
36 views

ASP.NET Core MVC ecommerce filtering products, brand name, categories with Ajax

Here is product filtering frontend HTML code: Filtering Sidebar <div class="widget widget-collapsible"> <h3 class="widget-title"> <a data-toggle="...
krmdev's user avatar
  • 11
0 votes
2 answers
45 views

My ajax post request doesn't work in my ASP.NET MVC project

I'm trying to make a request to controller but it doesn't work. The first console.log() shows the correct id, so I think I passed it right in the html button. The id parameter is always 0 when it ...
Pedro Henrique Miranda's user avatar
0 votes
0 answers
49 views

run script after load more button is clicked

I am using the Smash Balloon custom facebook feed pro plugin on wordpress. I have written a php script the alters the $content on the page with the facebook feed so that it changes the links in the ...
Mike Muller's user avatar
0 votes
0 answers
8 views

Magento Custom Module Frontend Request Not Hitting Controller Endpoint (302 Found)

I'm experiencing a persistent issue with my custom Magento 2 module. I have a frontend form integrated into a chat interface on my site. However, when I submit this form via a POST request, it's ...
Stuff lahza's user avatar
-1 votes
0 answers
25 views

very slow ajax request with Symfony 6 in local environment

I got trouble developing a Symfony 6 / PHP 8 project. I use AJAX lots of time on my page, and from the start of development the slightest request took several seconds. I use to got a response anyways, ...
Yosu's user avatar
  • 19
0 votes
0 answers
12 views

How can I implement Lazy loading of child rows in Simple Tree Table plugin

The problem with simple tree table plugin is that it works perfectly fine when all the rows including child rows and grandchild rows are preloaded , which consumes some space , especially when the ...
Shashank Poojary's user avatar
1 vote
1 answer
45 views

Live Search returning whole page

I'm trying to get a live search bar to work in .Net Razor with AJAX, and it looks like it returns the whole page, instead of my partial only. Im trying to replace a container with the results of the ...
Patrick's user avatar
  • 11
0 votes
0 answers
20 views

Cannot upload file with ajax and asp.net webservice in shared hosting

I have created an application to upload files to a folder using ajax request and asp.net webservice.asmx. It's working fine in my local system with IIS. But when I hosted it in my Mochahost shared ...
Codinoz Technologies's user avatar
0 votes
0 answers
21 views

Filtered queries not responeding to page path

I am writing a product filter, and ran into this issue. I have 2 different attributes of my product filter: Tilt -- as a checkbox with "Yes" or "No", and Multibrand Compatible -- ...
JohnLyons's user avatar
0 votes
1 answer
124 views

Ajax sending without return due to possible obfuscation in a subsequent sending from the server to an external website

From the client I send an Ajax request to the server expecting a return. $.ajax({ type: "POST", url: "RespuestaajaxL.aspx/RespuestaajTask", contentType: &...
Manuel Cera Vera's user avatar
0 votes
0 answers
34 views

I'm developing a web application using django and ajax for checklist. I have total of 140 checklist

I'm developing a web application using django and ajax for checklist. I have total of 140 checklist each checklist have header(meta data about that particular checklist), body of the checklist, and ...
Yogesh waran's user avatar
-1 votes
0 answers
57 views

How Can I Make My HTML Page Upload a PDF to my ASPX Page [duplicate]

Background Application/Program: Lightweight Website (40,000 HTML Pages | 5 ASPX Pages) Goal: HTML Functionality that sends Uploaded PDFs to an ASPX Page (for processing) Problem: Uploaded PDFs Get ...
Elias's user avatar
  • 51
1 vote
0 answers
52 views

How to store dynamically data in a PHP callback function

In my WP plugin, I need to store array from a JSON file. PHP callback retrieve $_POST['some key'] and return to jquery ajax echo sub array json_encode(array['some key']). First time : $my_array = ...
phil95's user avatar
  • 11
0 votes
0 answers
24 views

How to use DateTime data from Ajax in Tabulator?

New to Tabulator, however, I've managed to get a sample html/json script to communicate correctly with a PHP backend via Ajax/json callbacks. I can see data come through, view and edit etc for numbers ...
Carl Beech's user avatar
0 votes
0 answers
37 views

400 Bad request in jQuery AJAX [duplicate]

I am sending form data from jQuery AJAX to ColdFusion CFC. It is working fine with 100 form parameters. If I send more (more inputs from form), it is throwing 400 bad request in the response. I am ...
Sathyapriya Muthukrishnan's user avatar
-1 votes
0 answers
31 views

Returning an Ajax response which consists of HTML and JavaScript to the front end to be rendered

been trying for days to figure this out...im trying to call a shortcode via php, process it via Ajax and return the response to a frontend but has been unable to do so. It seems that the script just ...
xenos's user avatar
  • 3
-1 votes
0 answers
12 views

how can i open the game on my personal app like cheat bypass?

I found someone who could open a game in the bypass application so he opened a bypass then the bypass opened a game after that the application force closed and in the background two activities were ...
RIZKYMOD Channel's user avatar
-3 votes
0 answers
25 views

AJAX Request Failing with 500 Internal Server Error

I’m trying to send an AJAX request to my server using jQuery, but I keep getting a 500 Internal Server Error response. Here’s the code I’m using: $.ajax({ url: "/api/update-user", ...
Ben Stokes's user avatar
1 vote
0 answers
47 views

Wordpress Ajax gets 400 bad request error

I try to run a ajax in wordpress but get 400 bad request error in firefox This is my code: function sendsms_function(){ echo 'hello'; wp_die(); } add_action('wp_ajax_nopriv_sendsms', '...
hamidsolat's user avatar
0 votes
1 answer
48 views

make a value available otuside of this function to use in php later

im trying to turn the country_code var outside of the function to use later in a php. Here its working to display the value in a div. The issue im having is making the var available outside of the ...
qwerty321's user avatar
0 votes
0 answers
30 views

Handling Ajax in MVC architecture

My question is in regards to the ideal/preferred approach to handling Ajax requests in an MVC structure. In particular, about whether it's considered a good practice to create a separate controller ...
user12538855's user avatar
0 votes
1 answer
50 views

@connect tag not working in TamperMonkey/Chrome?

I have an issue similar to this one, except—as far as I can tell—my directives are correct as per the answer on that question. My header is as follows: // ==UserScript== // @name My Userscript ...
Doktor J's user avatar
  • 1,109
-5 votes
1 answer
38 views

My Javascripting skills are pretty much non-existent. How can I do something like this curl example in a browser with javascript? [closed]

The cik should be a variable I would need to increment "from" to allow pagination. curl -XPOST -H "Content-type: application/json" -d '{ "query": "cik:<...
user3934203's user avatar
0 votes
0 answers
32 views

php Ajax $_FILES empty [duplicate]

I can't find how to get my ajax function to see the $_FILES array. This is a very common problem and I have read through many posts. Some of those say to load the form data. I tried (the commented out ...
user3052443's user avatar
0 votes
1 answer
24 views

Multiple file uploads resulting in each disabled button becoming enabled [duplicate]

On a page I have multiple file uploads and each has its own Upload button. When i call the type="submit" button each file load goes off to its own controller and its file is loaded. This ...
tj26's user avatar
  • 313
1 vote
1 answer
32 views

Access Denied Exception When Submitting AJAX Form

I'm trying to implement an additional newsletter subscription option in the Shopware Storefront, where users can opt-in or opt-out of a secondary newsletter. I've created or modified the following ...
Auhona's user avatar
  • 211
0 votes
1 answer
31 views

Wait for multiple times axios access finished [duplicate]

I have script like this below. It start multiple API access. var temp = []; for (let i = 0; i < `10;i++){ var url = `http://www.myapi.com/api/?id=${i}`; axios.get(url).then(...
whitebear's user avatar
  • 12.4k
0 votes
0 answers
23 views

Apache and Reverse Proxy Issue

I have a server that is hosting some API's (we'll call it API-1). I also have a server that is hosting files that developers can use to incorporate an iFrame into their website. When they try to ...
Jason's user avatar
  • 1,137
1 vote
1 answer
41 views

Post a form via jquery from a same page where url is slightly changed but working on one url and refreshes the page on other url

I'm facing a weird problem where I have to reach a form page via two methods: create and edit. When posting from the create URL, the same form works perfectly, but whenever I post via edit or re-...
Abid Rizvi's user avatar
-2 votes
3 answers
59 views

laravel datatable takes long time to load with only two records

i have the following code with only 2 records of data my controller : if (request()->ajax()){ $spareparts = Sparepart::select(DB::raw('DATE_FORMAT(spareparts.created_at,"%d-%m-%...
PinballWizard's user avatar
0 votes
0 answers
64 views

Chart.js Panning Not Working in ASP.NET MVC Application Using chartjs-plugin-zoom

I'm developing an ASP.NET 8 MVC application where I'm using Chart.js to display two real-time line charts: one for "Penetration Depth" and another for "Hydrophone Audio Levels." I’...
dylan DA's user avatar
0 votes
0 answers
29 views

Delete and update data at the same time in Laravel Ajax dynamic form

I have a form divided into two sections, a regular product form and a dynamic form for the product details below the regular one. I can successfully update or create new data. Now I tried using Ajax ...
Amanda Linhan's user avatar
0 votes
1 answer
35 views

Bootstrap Datatables sort for various measurement units not working

I have a column which has length values defined in various units, for eg:- 10mm, 200cm, 500mm, etc., where mm = millimeter and cm = centimeter. I am using the server-side script to get this from my ...
Noob YT's user avatar
  • 47
0 votes
1 answer
23 views

How to parse "structured" input tag data with using Jquery so I can send it via jQuery AJAX?

I need to submit unknown input data from within an element such as a div using Jquery. FYI, I can't use a form element because this data might already be inside a form. The input names need to be, for ...
user2666747's user avatar
0 votes
1 answer
18 views

How to catch errors inside request.done() in ajax jquery?

I'm new to jquery. I have a script to send a request to an API. Basically everything is working fine. Now I'm trying to simulate a network connection error, and show an appropriate error message to ...
user2511599's user avatar
0 votes
1 answer
74 views

Run ajax call after close modal form ASP.NET Core

I am using ASP.NET Core 6. I have a razor view that has a section in it that is populated by an Ajax call: <div id="assessmentTablesDiv"> <!-- ...content... --> </div&...
user20408154's user avatar
1 vote
0 answers
67 views

jQuery ajax call returns different things on different servers

I have the same front end and back end code running on two different servers (each frontend calls the associated back end, no CORS issues involved). One one server I make a jQuery 3.5.1 $.ajax call to ...
Brad Irby's user avatar
  • 2,542
0 votes
0 answers
18 views

Event Listeners only working on initial page, not on AJAX pagination reload

I have a loop grid which works and filters fine, with a dynamic pop-up box which appears when a container is clicked. My issue is that this only works on the initially loaded items in my grid, and ...
Ashley Z's user avatar
0 votes
0 answers
43 views

How to send request from js cordova to PHP? cors system error

When sending a request from a cordova JS request application a CORS error comes out, and I don't understand how to customize the headers. The application is on different devices, addresses are ...
Дима Закуткин's user avatar
0 votes
0 answers
31 views

How to Display Real-Time Progress Bar for Product Import in WooCommerce?

I am building a custom product import page for WooCommerce where users can upload a CSV file to update product stock or price. I want to show a real-time progress bar that displays the percentage of ...
GFT's user avatar
  • 62
0 votes
1 answer
59 views

Laravel PHP Request Size on Azure WebApp

I have two Web Apps created in Azure - dev and prod. Both on Linux. They have exactly the same setups, same env variables etc. I encountered a strange bug while sending a request from my FrontEnd to ...
Bartosz's user avatar
2 votes
3 answers
69 views

Ajax is preventing input type number min attribute

function Min(ID) { $Number = document.getElementById(ID); if ($Number.value < 1 && $Number.value !== "") { $Number.value = 1; } } echo ' <form id="' . ...
Thief Beatbox's user avatar
1 vote
1 answer
91 views

Laravel 11 Route not found 404 jQuery

I'm using Laravel 11 and jQuery I have this error : Erreur 404: Not Found { "message": "The route %7B%7B%20route('columns.all')%20%7D%7D could not be found.", "exception&...
David's user avatar
  • 447

1
2 3 4 5
4430