Questions tagged as 'javascript'

1
answer

Upload select within a file upload

Hello good afternoon as you found I wanted to ask how I could upload a select within a file upload I mean upload the select and files with a single button this is the code I have now this is my javascript //funcion cargueArchivo $(':file')...
asked by 17.09.2018 / 18:59
0
answers

Save JSON as a file to download it in .txt - Javascript

I have this code to first reflect a form in LocalStorage and then pass it to JSON, but I need to download a file with certain data to a text file. I leave the example: function getAllForm(){ var formID = document.getElementById('form...
asked by 17.09.2018 / 17:22
1
answer

show value in div with image every 10 seconds

I would like to achieve 2 questions, the first is that I have an image inside a div, that simulates a little light, the idea is that depending on the number of records in a table I show the image and over it the number. I use a function to bring...
asked by 12.09.2018 / 15:38
0
answers

Telnet in JavaScript - Node.js

I wanted to ask if someone could help me with a Telnet in JavaScript to use on port 25. Practically what I need to connect to a domain server to know if an email exists or not in that domain. I found this code that suits a bit but I do not un...
asked by 12.09.2018 / 20:04
0
answers

I have this error, I am trying to integrate JSZipUtils

I have already installed it with: npm i jszip-utils , but this error appears, it is already integrated into the index, the route is correct    ERROR !!!: Refused to execute script from   ' link '   because its MIME type ('text / html')...
asked by 12.09.2018 / 18:08
0
answers

Show flashing div depending on the result of a query

I have a PHP page that every x seconds consults another PHP the number of rows of a query. Based on that answer, that is, if the value is greater than zero, I would like to show a div , which is an alert, which should be intermittent. I...
asked by 12.09.2018 / 19:03
0
answers

Send an automatic message via Whatsapp

Using the whatsapp api you can build the message link but you need to click the send button. Using the following code in the console you can send document.querySelector('._35EW6').click(); The question is how could you join all this so...
asked by 14.09.2018 / 02:07
0
answers

Help retrieving data from a controller with Spring?

I have the following method that returns a list, from which I want to retrieve a field and if you bring it to me, I use the model to send the value of that field to the jsp, but it does not show anything in the browser console @ResponseB...
asked by 14.09.2018 / 04:17
0
answers

CHECK PRICE FROM FORM

I AM LEARNING DEVELOPMENT AND I WOULD LIKE TO KNOW HOW TO DO THIS. MY FORM IS OF A CARRIER THAT CHARGES THE SERVICE DEPENDING ON YOU TO CHOOSE THE CUSTOMER. <form class="reserva" id="pricing" action="book.php" method="POST">...
asked by 14.09.2018 / 00:51
1
answer

I have a doubt in a function js

function resta(numr, numr1, resultador) { resultador.value = (numr - numr1); } function calculo(cantidad, precio, inputtext, totaltext) { gndtotal = totaltext.value - inputtext.value; subtotal = (precio * cantidad...
asked by 14.09.2018 / 01:14