220,985 questions
0
votes
1
answer
38
views
live commenting system with laravel and ajax
I want to implement a live commenting system for each post of my project
this is my view
@extends('layouts.main')
@section('content')
<p>{{ $post->title }}</p> // there is nothing ...
1
vote
1
answer
43
views
On passing json stringify data to controller method shows null
I am trying to post my form data using ajax. I am serializing the form data before posting. But at the controller method, it shows null. There is no problem with the form data because I can pass data ...
1
vote
0
answers
26
views
How to update and render Bokeh plots immediately, without reloading, using AJAX JS?
So I am working on a dashboard in which there are bunch of KPIs and Graphs. The dashboard have filters that when applied, filter whole dashboard. Before I was totally reloading the page and every ...
0
votes
1
answer
108
views
jQuery DataTable not calling ajax [closed]
Have a web application I am building using Visual Studio 2022, .Net (not Core) that has a page that uses ajax to gather data for a DataTables table. Problem I am having is that the ajax endpoint ...
0
votes
0
answers
68
views
How do I handle query string with ajax to pass a Google Sheets ID parameter to my app script so it can show that Google Sheet's data on my website? [closed]
I’ve been working on a website built to show a table of sports teams and their stats. In order to do so I am utilizing datatables, ajax, google sheets, and google app script. I’m also using Hostinger ...
0
votes
4
answers
119
views
Passing parameter to route function from ajax
I am trying to call a controller method using ajax. But I do not know how to do it? I have tried several ways but can not find the right one.
My controller method::
use App\Http\Controllers\Controller;...
0
votes
0
answers
78
views
Why when using Symfony UX and Forms I get INVALID CSRF TOKEN?
I have a question regarding Symfony UX Live Components and forms.
Context:
Imagine you have a Parent Component and a nested Child Component. Both are Live Components and both include Symfony FORMS (...
0
votes
0
answers
71
views
How to send model and some other parameters from javascript to controller using jquery.ajax?
I have an ASP.NET Core MVC project and I am trying to send a model and some other parameter from JavaScript to a controller action. First I fill the model from view fields whose names match the model ...
0
votes
0
answers
26
views
Javascript Function Returns Null in ByRef Argument But Response has Value inside the function [duplicate]
The console.log(oResponse); of oResponse in the function mGetLookUpTableArray writes the information of the json_encoded object in the console log. There is data from the database in the oResponse ...
0
votes
3
answers
76
views
Ajax/JSON Call to PHP Script is Failing To Populate on the Client Side (DB Call is Working)
I have a bare bones AJAX script that calls a PHP page to retrieve data from the database. The database call is definitely working. I am getting the below error in the console which seems to indicate ...
2
votes
2
answers
75
views
Ajax POST returns undefined from ASP.NET Core Web API with no errors
In my ASP.NET Core MVC web app project, I'm sending a POST request to an external API using HttpClient. Everything seems to be working correctly, but on the JavaScript side, the response is undefined. ...
1
vote
1
answer
36
views
OpenCart 4.x: AJAX request returns "Invalid token session" despite valid user_token
I'm developing a custom OpenCart 4.x module that adds a button to the order page to log order data via AJAX. The button makes a GET request to my custom controller, but I'm getting an "Invalid ...
0
votes
1
answer
49
views
Disable and enable button in oracle apex
I have a button which uses DA and executes the server side code... when there is a low network user clicks the button multiple times which cause duplicate entry... I want to disable when user clicks ...
0
votes
1
answer
60
views
Progress bar display issue with setinterval
I have a jQuery script that makes an Ajax call to a PHP file (process.php) to retrieve the status of a database (The upload.php and import.php parts are working fine and not relevant here I would say),...
0
votes
1
answer
57
views
Struggling to auto-add product Y when product X is added to cart (Shopify)
I have the below:
Become a Member (product)
Core Plan (variant)
Premium Plan (variant)
1-week Trial (variant)
Bond (product)
Refundable (Core) (variant)
Refundable (Premium) (variant)
Refundable (...