Questions tagged as 'ajax'

3
answers

How to reload AJAX result without losing its value?

When I show a result with AJAX, how can I do so with a click button to update that result (not the page)? because if I do it with a reload with JAVASCRIPT, I reload the page and lose the result I got from AJAX     
asked by 16.06.2016 / 20:20
2
answers

Change the format of the date I receive from YYYY-MM-DD to (February 14, 2018)

I have a question. You can change the date I receive from the BD with my javascript and show it as: "February 14, 2018", since I currently receive "2018-02-14" this is my JS $.ajax({ url: 'datos.php', type: 'post', data: {f...
asked by 15.02.2018 / 00:26
2
answers

Problem with sending data by ajax (laravel)

I am sending a data by ajax with type: 'post', but it generates an error, when I change it to type: 'get', the data is received in success. This is the code. Ajax $('.QuestionList-item').on('click', function() { $('.Question').sho...
asked by 07.05.2016 / 18:00
2
answers

Problems with dynamic select - dependent ajax, mysql and php

I try to create a dynamic / dependent select with ajaxx and this even though it generates return results, I can not give value to the html element. Here the code: <script> // Agarra el ajaxx de país. $(document).ready(function...
asked by 15.12.2018 / 03:33
1
answer

Doubts about Error in javaScript,

I am currently working with entity framework and ajax, I have a method in ajax that returns a list that I can load in a table and when I want to choose some item in particular I click on the row and this data loads them in form, general I charge...
asked by 16.11.2018 / 16:12
1
answer

Sweet Alert on Modal Bootstrap

I have the following problem using sweet alert and modal bootstrap. It turns out, I make the requests through ajax and php, but the generated alert always shows me the independent success if the request to the server was successful or not. What...
asked by 05.11.2018 / 04:07
3
answers

Help with dynamic table

I'm having a drawback of handling tables. I need to show data from two tables, which I already have stored in the database, the first is services, it shows the existing services and when I click on one of these services I need you to show me ano...
asked by 20.10.2018 / 02:38
1
answer

Simple redirect with Ajax

I'm learning JQUERY and I want to do a simple redirect in Ajax when you click on a but for some reason it does not redirect me. $("#btn-proceed-chk").click(function(){ var chkurl = "URL-DE-REDIRECCIONAMIENTO"; $.ajax({ async:...
asked by 11.09.2018 / 22:33
1
answer

Problem in function

Good afternoon GRAN community. I have a problem in a function that goes to 90%. The problem is in the BeforeSend of the code, when I delete an item from the cart, a spinner is activated, but it is activated in all the elements, and I want it to...
asked by 26.09.2018 / 20:21
2
answers

preventDefault () - Before sending by PHP A BBDD (jQuery)

I try to send the information of a form, to a database, so before sending it, I want to check that all the fields that I have marked with "required" are filled in. For this I am trying the following: $("#comprobarDatos").on("click", functio...
asked by 27.08.2018 / 16:58