Questions tagged [ajax]
AJAX (Asynchronous JavaScript and XML) is a technique for creating interactive website user interfaces without the traditional web page refresh or reload. It uses asynchronous data exchange between client and server to update displayed information and respond to user interactions seamlessly. Include additional tags for programming languages, libraries, frameworks, web browsers, protocols and other environmental information.
100
questions
0
votes
0
answers
14
views
How can I populate Textfield using php ajax in each row of a table upon change of another textfield within the row
I have a javascript where upon click of a button a row with two cells is added to the table. One cell has a livesearch textfield and the another cell has a quantity textfield, whose value suppose to ...
1
vote
0
answers
47
views
Multiple requests being made from a single click
There is a duplicate request issue that affects staff members at our company. I am unable to replicate it in our development environment (or in production for that matter, but I work from home so ...
0
votes
0
answers
17
views
resolve ajax failure in codeigniter 3 view page?
in codeigniter 3 view page i have following to edit comments :
function toggleEdit(commentId) {
console.log("Toggling edit for comment ID:", commentId);
var commentText = ...
-4
votes
0
answers
28
views
How notification or pop message on one web form to another web form [closed]
how to send a notification message from one web form to another web form that notification should be visible on one day if the user should view that notification after notification should not show ...
0
votes
1
answer
21
views
Post raw HTML data via AJAX to server with ModSecurity
I have a website that uses jQuery ajax $.post to save html data to a PHP script.
The data for $.post is serialized textarea form data (where the user edits css, javascript & html).
All works well ...
0
votes
0
answers
22
views
javascript and php handling when form submits [duplicate]
Im new to web development, im trying to create a to do list. How to include this javascript function when form submits. I tried doing onClick(addTask(event)) it ignores javascript,page reloads and ...
0
votes
0
answers
13
views
Maintaining product data across AJAX requests for invoice creation
I'm working on a Django application for creating invoices. Users can add multiple products to an invoice before submitting it. I'm facing an issue where the product data isn't being maintained between ...
-1
votes
0
answers
22
views
Send a form using ajax on ASP.NET Core 8 MVC
I want to implement a form in which there are various types of inputs, such as several text and file type inputs for sending photo, and the information must be sent through ajax and with a model, and ...
-3
votes
1
answer
36
views
Image is not inserting into database with AJAX [closed]
I'm attempting to upload an image into a database using AJAX, and while the process is executing without errors, the image isn't being saved to the database.
let team_s_form = document....
-1
votes
0
answers
49
views
How to get a value from a PHP input field and send the value of that variable from a JavaScript page to another PHP page with Ajax? [closed]
I want to get a value from the user using the following input field:
<div class="search">
<span class="text">یک کاربر برای شروع چت انتخاب کنید</span&...
1
vote
1
answer
36
views
CodeIgniter and Ajax: Dynamic Dependent Dropdown not working
I'm trying to create a Dynamic Dependent Dropdown via Ajax and CodeIgniter 4. However, I could not make it work. Can you help me figure out what's wrong? I'm trying to follow this tutorial online: ...
-1
votes
1
answer
27
views
WordPress ajax request with authentication user, pass in custom theme
Title: How to Securely Handle AJAX Authentication in a Custom WordPress Template?
Question:
Hi everyone,
I'm designing a custom template in WordPress that includes a form. When a user submits the form,...
0
votes
0
answers
13
views
Problema with bootstrapDualListbox and ajax
I have the following:
html:
<div id="modal-form" class="modal fade" tabindex="-1" aria-hidden="true" style="z-index: 0;">
<div class="...
0
votes
1
answer
27
views
Properly reload and reformat a Bootstrap Popover after Loading Data with ajax
Let me state first of all that there are a lot of articles out there asking about simply loading an Ajax call's data into a Bootstrap 4.0 popover; this question regards a slightly different topic.
The ...
0
votes
2
answers
52
views
Problem in sending data to the controller through Ajax in ASP.NET MVC
I use this foreach:
foreach (var item2 in RItem.GetChildItems(item.ID_Ca))
{
<div id="@idc" class="accordion-collapse collapse" aria-labelledby="headingTwo2"
...