Questions tagged as 'ajax'

2
answers

Order wrong AjaxRequest

I am developing in EXTJS and when using an Ajax Request, there is always an order of code execution that hinders validations. This is the problem: An example, I call the parameters to the file save_avance.php. Ext.Ajax.request({ url:...
asked by 09.11.2017 / 17:00
3
answers

Form with jquery

I have several forms on a page and I am sending them with the ajax method, how can I identify which of these forms were sent? so I have my code $('form').submit(function(e){} But of course when you do this, you are grabbing all the f...
asked by 13.11.2017 / 04:52
1
answer

Pass ajax response to php

I'm doing an ajax query from an external website. I receive the site data well but in json, I would like to send the response to php. This is the ajax code var datos = {"Nombre:" : "Alejandro"}; var url = "http://quasar.e-htl.com.br/booking/ho...
asked by 25.05.2018 / 18:36
1
answer

Load data in an input from ajax with php and mysql when loading the page?

How about, someone could tell me how to load the data of a query in some text boxes from PHP with ajax when loading the html page to add the results in the input. This is what I have until now. <?php include '../conexion.php'; $query = "...
asked by 25.06.2017 / 05:26
1
answer

Avoid the full refresh of the page by sending function get in jquery ajax

Hello, I have two functions in jQuery that when you click on the button btn_enviar send the data to the database via AJAX. I also have a $.get that writes the data in HTML controls. I would like to be able to send the data wi...
asked by 09.05.2017 / 02:43
2
answers

How can I check a check box with an if?

Greetings, I have the following situation: I have a if that as a target I want to mark a radio button , I have tried with scripts but it does not work for me. <div class="funkyradio"> <?php $sql = "SELECT * FROM permiso WHERE us...
asked by 24.12.2017 / 22:02
2
answers

close Bootstrap modal popup

I'm trying to close a modal bootstrap window with a url returned from the ActionResult, but for some reason it's not working: This is my script: $('form').submit(function () { var $form = $(this); $.ajax({ url: this.acti...
asked by 15.05.2016 / 00:50
1
answer

problem passing data through AJAX?

Question Create a few days ago a select which is completed automatically by a DB , I asked for help to create a container that had the necessary fields brought from the db , the problem is that when try to do it...
asked by 20.11.2017 / 21:14
2
answers

Error returning a data from Controller php to an Ajax in jQuery

I have a problem returning a data from Controllers/registro in php to% Ajax . The controller receives a data from Model/registro.php , but it does not return the Ajax that data it receives. What could be the r...
asked by 07.02.2016 / 22:29
1
answer

Upload image in Lavarel 5 encrypt and delete with Dropzone.js

I have a problem with Dropzone.js to delete images after being encrypted and upload with Laravel 5 I have the following code: $file = $request->file('image'); $extension = $file->getClientOriginalExtension() ?: 'png';...
asked by 27.02.2016 / 17:01