Questions tagged as 'ajax'

0
answers

Pass text field value to php variable [closed]

How could I pass the value of a text field to a php variable without sending from a formulation I do not have much knowledge in ajax to say nothing     
asked by 31.10.2018 / 01:46
3
answers

AJAX Does not enter success: function () when uploading files

I have the following code to upload files .csv and I need to show an alert , that is, a answer when I enter the succes , the problem is that it never enters the function. $.ajax({ data: data, type: "POST",...
asked by 15.02.2017 / 21:55
1
answer

jQuery | Ajax | xhr.statusText: 'OK' vs xhr.status: 200

In the jQuery ajax, I need a xhr.statusText:'OK' and throw a 'success' . I also throw a xhr.status:200 serves the same? Example: if (xhr.statusText == 'OK' || xhr.status == 200) { // Ok! It works! Let's d...
asked by 26.10.2018 / 15:54
1
answer

Budgeting with PHP and jQuery

I am creating a page for a product where the user can customize the design itself, place the color, the name, and in turn has to go to the same budget, all in the same web. Currently I have achieved everything only the budget as it works as a "s...
asked by 02.06.2017 / 23:45
1
answer

I am making an employment form and I need to send a PDF file

I am making a form, with an input for PDF , validating that all the fields are filled in order to be sent to a predetermined mail, but when the mail arrives the file of the > PDF does not arrive as it should. The code is as follows:...
asked by 04.09.2018 / 17:27
1
answer

Update a table with ajax

How can I update a table using ajax , I have the following table: $("#venta").bootstrapTable({ url:'<?= base_url(); ?>index.php/ejemlo/usuarios/datos' columns:[ {field: 'reStatus'},...
asked by 19.08.2017 / 17:03
3
answers

I can not get the value from ajax to php and then make an insert

HTML code: <input type="datetime" name="fechaEntrada" id="fechaEntrada"> <input type="datetime" name="fechaSalida" id="fechaSalida"> Ajax: var fechaEntrada = document.getElementById('fechaEntrada').value; var fechaSalida = doc...
asked by 04.04.2018 / 09:51
2
answers

Load data from a data table to a modal window laravel 5.7

Hi greetings I try to perform all the functions of the action buttons to finish my crud, what happens is that I want to make them in modal windows someone can help me I do not know how to do it.     
asked by 20.11.2018 / 00:06
1
answer

Run a script from ajax

I have created a file called catalogo.php in which 2 HTML controls of type select are found; one that shows the brand of the products, and the other that shows the products according to the selected brand. File content catalo...
asked by 27.06.2016 / 23:32
1
answer

Validate various inputs

I have the following question: for example in my order form I want to do this: I have an input where I enter the amount of services eg 1,2,3,4 etc. in another the price and through another would like to set the tax and in another show the price...
asked by 25.11.2018 / 13:27