skip to Main Content

Ajax hide deleted element(object) – Jquery

Learning Django and can't find solution. How hide deleted object on page. html {% extends 'base.html' %} {% load static %} {% block content %} <main class="container my-4"> <h3 class="my-4 border-bottom pb-1">Адреса <a href="{% url 'add_address' %}" class="float-right btn btn-sm…

VIEW QUESTION

Jquery to javascript. Post request

Friends, I'm converting Jquery to javascript and I'm having problems with this block of code: $.post('ajax_data',{action:'service_price',service:service,quantity:quantity,dripfeed:dripfeed,runs:runs}, function(data){ $("#charge").val(data.price); $("#dripfeed-totalquantity").val(data.totalQuantity); }, 'json'); I tried to do this, but it doesn't work for me const request = new XMLHttpRequest(); const url =…

VIEW QUESTION
Back To Top
Search