menu

Recent questions tagged ajax

1 vote
1 answer
Ajax product loading on the button "Download more" - how to remove the flip down? Greetings. The site is loading products on the button "Download more", after clicking on it, loads everything perfectly, shows products, but the screen jumps down to th ...
by De-12
asked Mar 6, 2021
1 vote
1 answer
Why are there no messages coming from the feedback form? Good day to you all, dear IT people! Feedback form on ajax, when I click "send" form writes "message sent", but does not come to email. I apologize for the extra lines i ...
by Sasha545
asked Mar 2, 2021
1 vote
1 answer
How do I pass a POST array using Ajax where inputs have the same name? There is a form with text inputs with different names and inputs that appear dynamically with the same name. The problem is that when an array is generated to pass POST ...
by Roman1290
asked Feb 25, 2021
1 vote
1 answer
How do I make a GET request before a POST request is returned? I need to make a file upload. As soon as I select a file, there is a POST request to the api and until the response is returned, I need to make a GET request to the api ...
by prolina
asked Feb 24, 2021
1 vote
2 answers
How do I re-initiate Fotoram after loading ajax content? Greetings, the photorama does not work after ajax loading. As I understand it, I need to re-initiate the photorama. Can you tell me how to Calling the photorama like th ...
by advancesss
asked Feb 23, 2021
1 vote
1 answer
How does clicking on a link show the address on the map? I can not find anywhere information about links that you click on the map shows the address of the office, and the location of 5 pcs. We need to do as in the example of ...
by makbori
asked Feb 16, 2021
1 vote
2 answers
How to properly render JSON? For a response of the form {"service": quantity, "service": quantity} I used the following code: $.each(new_data, function (key, value){ $('#first').find('spa ...
by lliamexx
asked Feb 14, 2021
1 vote
1 answer
Why does ajax only work with the first table row? Good afternoon. Please help me in my misery. I am no good at development. Straight to the point... There is a table with data in front of each row of the button "delete" ...
by Calabozo
asked Feb 14, 2021
1 vote
1 answer
Why does ajax take only one value with each method (took the values of several inputs)? $('.send').click(function(){ let val; let name; $('.answer').each(function(item){ val = $(this).val() name = $(this).attr('name') // consol ...
by Anon3363
asked Feb 13, 2021
1 vote
1 answer
Why does an ajax request output undefined? There is an ajax request to update data in a MySQL table //запрос на обновление ajax $("body").on("click", ".activeBtn", function(e) { e.preventDefaul ...
by kapelka001
asked Feb 11, 2021
1 vote
1 answer
Is the echo not displaying because of an ajax request? File is loaded, progress bar is loaded, response comes, but is not displayed. Before connecting js echo was displayed, after connecting - it is not displayed. What is th ...
by LegitPlayer
asked Feb 11, 2021
1 vote
2 answers
WebSockets+Ajax or just WebSockets? I am writing an interactive application based on WebSocket technology. The part responsible for sending messages is already written, but the question arose about writing ...
by LittleHome
asked Feb 11, 2021
1 vote
2 answers
Why doesn't the AJAX request work? Why doesn't the AJAX request function work in PHP? AJAX: $(document).ready(function () { emojis(); $('#loginmsg').html('<h2>Загружаем, ожидайте..</h2>'); ...
by alterr
asked Feb 10, 2021
1 vote
2 answers
How do I write to and output from the database without reloading the page? There is a php page with a form. index.php<!DOCTYPE html> Сотрудники Редактирование Сотрудники There is a handler for this form. sotrud ...
by Sadyrbaev
asked Feb 10, 2021
1 vote
1 answer
Why can Ajax not work? Help me understand what the problem is? I'm trying to call a php script through ajax, then paste the resulting array back into html, but something went wrong. JS <s ...
by ImSoSorry
asked Feb 9, 2021
1 vote
1 answer
image
How do I get response headsers in axios? I have before me the task of pulling and response hiders the name of the file. Here's what comes in: And this is the console.log(response) listing For some reason it do ...
by DenniLa2
asked Feb 9, 2021
2 votes
1 answer
image
The arrows disappear when zooming in and out in input [ type='number' ], how do I fix it? There is a project on django, there is a shopping cart with an item quantity counter. The counter works properly on ajax. Example code:  window.onload=function () {  $( ...
by s0pran0
asked Feb 9, 2021
1 vote
1 answer
Ajax request, how to pass the value? I make a bundle of goods, ie one bind to another. $id = intval( $_REQUEST'id' );$list = "";$result = $db->query( "SELECT FROM ".PREFIX."_stol_post WHERE id!=''" ) ...
by timers
asked Feb 9, 2021
1 vote
1 answer
Why isn't the data from the form transferred? Hello. Letters from the form do not come to the mail, although I get the message 200 OK. I have Content-Length: 0 in the response header, maybe the data is just not bei ...
by Sanchez9891
asked Feb 9, 2021
1 vote
1 answer
image
Why can the responseText property be empty in an XMLHttpRequest request? I make a POST request via XMLHttpRequest and get a plain JSON from the server. However, I can see the JSON I received in the console, but I can NOT see it inside the obj ...
by zkrvndm
asked Feb 9, 2021