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 browser, protocols and other environmental information.

0
votes
0answers
4 views

When I run the ajax with the summernote button it gives an error

This is my ajax code : $.ajax({ url: "/Admin/_Shop/ProductResult", type: "post", data: newProduct, dataType: "json", success: ...
0
votes
0answers
9 views

Append table with Django URL tag JQuery

I have a table I am appending with user details and want to add a Django URL tag to the row and grab the primary key in the tag. something like this: function putTableData(response) { let row; ...
0
votes
0answers
12 views

Why doesn't ajax in php output to a div using onclic?

If I use this code $(document).on('click', '#stavka', function(){ if(confirm('Are you sure you want to delete this data?')){ var action = &...
0
votes
0answers
10 views

Django ajax how to add load more functionality?

I am implementing ajax for real-time updating data in my html page without refreshing or reloading page. Now I am thinking to add functionality for load more content by click on load more button or ...
0
votes
0answers
4 views

Why when I loop through my array do I take the characters and not the position data?

enter image description here enter image description here hello, I have an array that I want to go through to access the data of its positions, to later create a table with DOM. The problem is that ...
0
votes
0answers
10 views

404 (Not Found) Error when calling to GeoNames API using cURL

:) I have an issue trying to receive a country name from the GeoNames countryCode API. I've already managed to get the users longitude and latitude by using navigator.geolocation and have set the ...
0
votes
1answer
24 views

Structure promise chain

Is there any way to better structure the code? In particular how exceptions are handled within a "promise chain"? $("#save").click(function(e) { e.preventDefault(); let $...
0
votes
0answers
17 views

Notification Count not showing

In my web application, When users log in to the system, I want to show that if there are unread notifications, Show the unread notification count on the bell icon. Here I just check by changing the ...
0
votes
2answers
47 views

return view in action method with ajax

I want to return a view in action (called Ajax) but it is possible that I will return Jason but if I return the view, it will not go to the view because the action was called with ajax. action: ...
0
votes
0answers
39 views

Start recursive Ajax POST call when click on a button in Flask App

In my Flask App, when i click on the "Play" button, i want to display server's information in the DOM every 4 seconds for 'n' times. With "sync" AJAX POST it works, but isn't the ...
0
votes
2answers
30 views

AJAX POST Not Returning php mysql ajax

I'm trying to get data from the database using ajax to insert it in other element but the post data not passing to get-data.php so what the reason can be and the solution addBuilding.php <?php ...
0
votes
0answers
14 views

Summernote 8.1.4 Upload Image

I have a working summernote code sending an image to a folder $ dir - uploads / blog However, I want to get the photos saved to uploads / blog / blog.id. Any change to a function or class will result ...
0
votes
0answers
12 views

How to share data between pages?

First Web page contains a button 'click' (where id ="btn") and when button is clicked I want to show on another Web page content (json files) in div (where id="animal-info"). When ...
0
votes
1answer
43 views

Updating table using form with AJAX

I am new to Laravel and I am trying to update a table of data using an Ajax call. The 'rent' field in the table should be the only field that can be edited, but I have been unable to get the changes ...
0
votes
0answers
20 views

I am using bootsrap datetimepicker.I want to load data base on date selected but datetimepicker is loading data from load_date(search) function

Date from load_date(search) is showing in datetimepicker $(document).ready(function(){ $('#search_notice').datetimepicker({ format: 'YYYY-MM-DD', }); $("#search_notice").on("dp....

15 30 50 per page
1
2 3 4 5
14580