Skip to main content
The 2024 Developer Survey results are live! See the results

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.

ajax
0 votes
0 answers
11 views

ASP.NET controller not receiving input

I have some mock web interface. It is supposed to take a user comment and save it to a json file. Then print the contents of the json in the html. However for some reason my controller is unable to ...
Love Happy's user avatar
-1 votes
1 answer
30 views

Update Dom With Result from Ajax with Action Event Not Working

I'm Developing a Comment Replay System As any Social Media website But Using YII2 Framework I Created Wedget To Show a list of Comments On Some Items ( like products ) Each Comment is With button &...
عماد الصلاحي's user avatar
3 votes
2 answers
65 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 ...
GoodNews Carrier's user avatar
1 vote
0 answers
67 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 ...
Antonio Agiste's user avatar
0 votes
0 answers
22 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 = ...
Solmaz's user avatar
  • 25
0 votes
2 answers
50 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 ...
Jsp's user avatar
  • 176
0 votes
0 answers
23 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 ...
Les Jetskii's user avatar
-1 votes
0 answers
37 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 ...
Ashkan Amjad's user avatar
1 vote
1 answer
53 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: ...
cjvdg's user avatar
  • 533
-1 votes
1 answer
37 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,...
Sanikookalam's user avatar
0 votes
0 answers
17 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="...
Javier Mejías's user avatar
0 votes
1 answer
33 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 ...
Freerey's user avatar
  • 184
0 votes
2 answers
53 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" ...
Hamed Javadi's user avatar
-1 votes
0 answers
19 views

Ajax Jquery append dropdown only populating once [duplicate]

When choosing a state, the user can also filter by city. However, the cities only populate once on their dropdown. All of the data for the new state selection(the cities) is being sent and logged. But ...
Sovereign Vapor's user avatar
0 votes
1 answer
35 views

jQuery Chat - Scroll to the bottom

I have a script that scrolls to the bottom of the messages div when it loads the chat or when a new message is sent. I was checking if the user was already at the bottom of the div because if it is ...
Cezar Duarte's user avatar

15 30 50 per page