Questions tagged as 'ajax'

0
answers

Doubt in a jquery with div print

Next question, I have a javascript code that makes it impression of a div by id, but the following is a form, I would like to customize with header and images, it is possible without me having to insert the data into the div ? La goes the scr...
asked by 19.06.2017 / 23:21
1
answer

File Upload with JS

First of all I wanted to say that I read some posts about it right here in the stack, but I could not get it to work, so I decided to post my code. My idea seems to be very simple, I need to upload a xlxs file to a server folder for it to r...
asked by 17.06.2017 / 19:37
0
answers

Requesting AJAX returning error 415

I'm new to web development and I'm having a little problem I created a Webservice in Java with just one test method that adds two values received by request parameters. follow it: import javax.jws.WebService; import javax.jws.WebMethod; imp...
asked by 30.05.2017 / 18:22
1
answer

Calling distinct functions via Ajax with Jquery in PHP

I have the following example: My HTML file has this snippet of code: <script> $( "form" ).submit(function( event ){ event.preventDefault(); $.ajax({ url : 'funcoes.php',//url para...
asked by 08.06.2017 / 18:16
0
answers

Automatic hosting of JPG from PHP and Javascript functions [closed]

I have a part of a client's site that shows the name of the logged-in user, the drive where it works, and the user's photo. I want to implement an automated function (in javascript and php) so that when the user clicks on the photo, automatic...
asked by 27.06.2017 / 17:08
2
answers

Delete record with Laravel via AJAX

I am developing an application in PHP with Laravel and I have in my AlunosController and following method destroy: public function destroy($id) { $aluno = new Aluno(); $result = $aluno->find($id)->delete(); if($result)...
asked by 11.05.2017 / 15:06
1
answer

Problem resets $ _POST

Personal with a problem in this code snippet, it evaluates whether there is a $_POST['employee_id'] variable if it exists, it will give an update, if it does not exist in an insert! so if everything is working, but if I give an update and...
asked by 04.05.2017 / 19:09
0
answers

Large JSON file upload

Personal I have an equipment here that provides a log in JSON that inserts the data every
asked by 06.05.2017 / 06:56
0
answers

reCaptcha in lightbox

Hello, I'm trying to insert a recaptcha into a page, I was able to successfully insert the contact page through an AJAX form. The problem is in an AJAX form that is inside a lightbox (in case I use featherlight but I think it does not influen...
asked by 18.04.2017 / 14:19
0
answers

Requesting youtube videos in iframe with AJAX

I have noticed that my site got very slow after the new layout update. It turns out that analyzing through the chrome console, I see that it is google: googleads.g.doubleclick.net/pagead/id Failed to load resource: net::ERR_BLOCKED_BY_CLIE...
asked by 13.04.2017 / 13:28