221,037 questions
-1
votes
0
answers
35
views
Bootstrap selectpicker multiple selected up to another element change is not working properly [closed]
I have a dropdown role and another users (multiple select - bootstrap selectpicker). While I change role, then users will be selected automatically depending on role selected, with an Ajax call for ...
0
votes
0
answers
50
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
65
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
68
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
72
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
33
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
40
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
55
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),...
-2
votes
0
answers
38
views
How can I Log a returned value from PHP in Javascript with AJAX? [duplicate]
I am trying to use AJAX to connect my JavaScript code to my PHP code. Currently, I have the following code:
JS:
$.ajax({
type: "POST",
url: "send.php",
data: {data : ...
-1
votes
0
answers
71
views
knp_pagination_render is not working properly when using it in embedded templates
I am building a webapp symfony (with Twig in frontend) and currently, I am creating a friend request page using the Knp Paginator solution. This page has two sections: one that displays the requests ...
0
votes
1
answer
52
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 (...
-3
votes
1
answer
62
views
Update Current Time Automatically And Update Database via ajax php mysql after video fully watched [closed]
Currently I am using following code to check video is fully watched or not.(Code is borrowed from This Stackoverflow Question)
I want to record the total watch time where it should be updated per ...
0
votes
0
answers
40
views
Why the ”[_]” apear en the last ítem array data section Ajax Jquery? [duplicate]
I build an array key:value pair for data section in ajax jquery, when read the request in php, I read all ítems but the last have [_]=>random_number, I set cache:false, whats is wrong?.
How can I ...
0
votes
2
answers
104
views
How can I make the form fill with its corresponding information from the database when it's displayed?
I have a local project in which I edit the fields inserted in the database through a form, and the information should appear in the form because in DevTools > Network, the status shows that the ...