Questions tagged as 'ajax'

1
answer

Send data from JavaScript to PHP, for use in FPDF

Good afternoon, I have a problem that already has me head, no matter how hard I try to solve it, I have an HTML, which I want to send data to a PHP, so that the latter process it and with the FPDF class creates a PDF file, the data will come fro...
asked by 22.06.2018 / 19:15
1
answer

how can I pass the value of my litbox in ajax ==

function insertar() { var data = { objpersona: { licencia: $("#Licencia").val(), categoriaid: $("#categoria").val(), p_ci: $("#carnet").$(this).val() } } $.ajax({ type:...
asked by 17.06.2018 / 16:50
0
answers

Load date data from a datatimepicker into a form to perform an update

Update the data date (which is a datatimepicker) of a form that must load the value stored in the database to change it and update but not load the saved data < script > function obtener_datos(id) { var received = $("#re...
asked by 15.06.2018 / 21:37
1
answer

Capture server response through ajax

Good day, I have an ajax that goes and consults something and according to the query returns me in an echo $ tipo_de_solicitud; a variable which I know is doing well because I check it by the chrome inspector (F12), the question is to receive it...
asked by 16.06.2018 / 02:08
1
answer

Add a "class" to a body without postback using ajax

I am using ajax and I have a problem! when I use the ModalPopupExtender it shows what I want but I can not add a class to a tag, specifically to the "body" tag I have the following code <html xmlns="http://www.w3.org/1999/xhtml">...
asked by 18.06.2018 / 11:18
0
answers

The success of the ajax does not respond when uploading a file from modal

good afternoon. I have a problem in the answer with the ajax, being specific in the answer if it raised the file or not. Please tell me what I'm wrong about ... The files are: The modal <!-- UPLOAD MODAL --> <div class="modal...
asked by 15.06.2018 / 20:58
0
answers

Send an image by ajax to controller java

I'm rescuing an image from an input <input name="fotoPerfil" type="file" id="upload" value="Choose a file" accept="image/*" /> and I'm trying to convert it to base64 to send it to a controller via ajax AJAX function guardarFo...
asked by 15.06.2018 / 17:33
1
answer

PHP: Make capture with html2canvas.js and save it to a server

I see that with this library we can print the resulting image somewhere in the DOM or even download it. What I need to save it on a server with php using ajax. In the following way I could store the img to pass it later by ajax. var data =...
asked by 14.06.2018 / 23:54
1
answer

How to keep my data kept in my html table

I am developing an application, in which I have a pair of textbox as input, the objective is that, the user write an order number in the input and make a query to the database to get information from that number of order and at the end place tha...
asked by 14.06.2018 / 16:09
3
answers

$ .ajax is not a function

I have an error when sending data by ajax, it marks me an error in the function $.ajax() but I already checked the documentation and the code is ok. This error marks me    status.js: 29 Uncaught TypeError: $ .ajax is not a function...
asked by 15.08.2017 / 05:01