Questions tagged as 'javascript'

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 / 18: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 / 15:33
1
answer

Use google maps with data brought by ajax

I'm bringing data from an external api with ajax, which gives me the longitude and latitude but when I apply it to google maps it does not read the data. This is the code of the ajax query jQuery.ajax({ url: "https://quasar.e-htl.c...
asked by 15.06.2018 / 01:45
1
answer

Function parameters drag & drop

I have a question with the parameter 'e' inside the functions. What does this variable refer to? function iniciar() { var imagenes=document.querySelectorAll('#cajaimagenes>img'); for (var i=0; i<imagenes.length; i++) { imagenes...
asked by 14.06.2018 / 14:58
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 / 14:09
1
answer

How to have the value of a checkbox with javascript

I have a query or query as you like to tell, and in the query that I do to the table would be something like this: $d151="select * from temporal where ncuenta>'399' and LENGTH(ncuenta)>3"; $db1=$dbh->prepare($d151); $db1->execute()...
asked by 13.06.2018 / 22:40
0
answers

Pause video youtube when hiding div with scroll

I have a fullwidth container that contains a YouTube video. I need that when the scroll is done the div is hidden and the video stops reproducing. I managed to hide the div when scrolling but I can not pause the video. Right now I have the fo...
asked by 15.06.2018 / 09:27
0
answers

How to generate thumbnails of a .mp4 video?

I am trying to generate a list of thumbnails based on a list of videos that I have on my server, I communicate with json to get the list of the route of the videos and thus be able to play, now it is planned to show a list of all the videos, for...
asked by 18.06.2018 / 17:07
0
answers

How to extract an object from an array, from a JSON with JavaScript

As you can extract from an array object, a common value in json and print that value with javascrip. This is my code: var dogs = [{ 'name':'Chewie', 'size': 'medium', 'weight': 80 }, { name:'Clifford', 'size': 'large', 'weight':...
asked by 14.06.2018 / 17:40
2
answers

Doubt with phpmailer

I am sending an email in PHP using the php mailer library but the problem is that I want the button to say loading while the email was sent and after it says it has successfully sent its mail, check the Inbox PHP Code: //send mails $mail...
asked by 12.06.2018 / 19:50