Questions tagged as 'ajax'

1
answer

how to eliminate with ajax and laravel?

I need to delete a column using ajax and laravel so far I have the following but it does not work for me thanks view () <button id="eliminarArticulo" ruta = "{{URL::to('auto/eliminarArticulo')}}" onclick="eliminarArticulo({{$detalle_mode...
asked by 18.01.2018 / 17:06
2
answers

load ajax from a date

I need a data to be updated in ajax but depending on the selected date, for example, if the date is less than today it should show a div showing something, and if it exceeds today's date it should show another div, currently only handle basic aj...
asked by 17.01.2018 / 20:52
1
answer

Print query in a PDF with HTML2PDF (jquery ajax)

I will try to explain myself as best I can. What I'm looking for is printing a table, which is the result of a query I get with jquery ajax, in a PDF file. The query is made from these data: The user chooses and when clicking on the que...
asked by 17.01.2018 / 19:07
0
answers

Webapp in PHP works locally but in live server not [closed]

As the title says, I have a webapp in PHP (not made by me), it works properly mounted on a local server (in XAMPP), the problem is that when I upload it to the live server a section and other things leave to work or not show as they should, I al...
asked by 26.02.2018 / 09:54
0
answers

500 Internal Server Error in AJAX and php

I have a problem on a website that when opened opens calls several requests to the same website. The problem is that some requests mark them as 500 Internal Server Error . When I update the page, sometimes it completes all the requests co...
asked by 04.01.2018 / 09:27
1
answer

How to get ajax response in a variable or alert

Good afternoon, I'm trying to get the answer from my ajax request, but I have not been able to do so. I have this code that works perfectly to send but I do not receive the answer and I would like to have that answer in an alert. Here the aja...
asked by 17.12.2017 / 21:57
1
answer

I want to send a file in a JSON using an AJAX without using formData, is it possible?

I have a form that I sent with an ajax. I extract the data with jquery and I put them in prototype to send them in ajax with a dataType: 'json'. Come on normal. var datos = { nombre : $('#nombre').val() } $.ajax({ url: '../...
asked by 18.01.2018 / 17:26
1
answer

Serve an image from Servlet 3.0 contentType="multipart / form-data"

Greetings community! I pose the following problem, I have an image in a BBDD (format bytea[] ) and I want to serve an answer to show that image in my HTML. I do not have routes or directories, just the image in the database. It looks som...
asked by 19.12.2017 / 17:28
0
answers

How can I receive and send data to my ajax from a web service c #?

Good morning, I'm getting 500 error when I run my ajax call to a web service, I do not understand the problem very well but I guess it's because I'm getting bad data from the json that I send from my script. Ajax: $.ajax( { url: "htt...
asked by 16.11.2017 / 04:12
1
answer

Help, make consultation with ajax, json, php

Greetings friends, I am currently solving an exercise in which I want to make a query without having to reload the page, for this reason I am using ajax ... But I have been several hours and nothing that I have with the solution, e watched some...
asked by 16.11.2017 / 11:13