Questions tagged as 'javascript'

2
answers

Input of type file that automatically selects files?

I have a input of type file and with the property multiple , that is I can select several files. Specifically, I need to send three types of files to the server: 1. archivo.shp 2. archivo.shx 3. archivo.dbf I would like that in the...
asked by 02.11.2016 / 21:34
1
answer

Because the variable City1 does not save the value in the first execution of the modal, and on the contrary in the second execution if it does

document.getElementById("BtnModal").onclick = Public; Ciudad1 = ""; function Publication(){ navigator.geolocation.getCurrentPosition(showPosition); function showPosition(position){ var geocoder = new google.maps.Geocoder();...
asked by 10.11.2016 / 05:55
1
answer

Angular $ scope model is not updated

I'm trying to do the following, a query to 2 apis. The first query is to bring the data of a given city, I use it with promises. The second query is, to bring from that data 7 more data given longitude, latitude and date, I made it using a...
asked by 09.11.2016 / 02:48
2
answers

Show Java Script without click

I have a code in which I show a content, every time I click on a button. I want to modify the code so that only with a click shows all the separated content for a few seconds. What do I have to modify of the JS? document.addEventL...
asked by 06.02.2017 / 13:47
1
answer

Error finding exported modules

I have a problem and that using the library es6-module-loader-dev is giving me an error to get the classes that I'm importing. The truth initially I thought it was the route, but after checking them, see if the classes had the export and...
asked by 10.02.2017 / 17:58
1
answer

How to save image in Servlet project?

I want to save an image in a folder within the project. I have a jsp with a form: <form action="ParametrosServlet" methos="POST"> Logo: <input type="file" id="logo" name="logo" accept="image/*">...
asked by 09.02.2017 / 19:18
3
answers

Evaluate the value of a variable to convert it into a variable

This is a line inside a for in with jQuery append: <span id="TITLE'+i+'" class="card-title activator grey-text text-darken-4">' +$(".card-title").attr("id") +'<i class="material-icons right">more_vert</i></span&...
asked by 07.02.2017 / 22:21
1
answer

Does not load CSS on NodeJS server

I have the following basic server: var express = require('express'); var app = express(); app.get('/', function(req, res){ res.sendfile(__dirname + '/public/index.html'); }); app.listen(8081); In that index.html I...
asked by 31.03.2017 / 17:34
1
answer

What is the unit of measure that returns width and height in a jquery image?

I'm working with obtaining the height and width of an image size I start from an image that I know what its sizes are width 2160px high 3840px My code in javacript //Quitamos el ancho y alto que tiene en el navegador para...
asked by 06.12.2016 / 20:16
2
answers

Problem with php page

I set up a very rudimentary pager, when entering my index.php page a query of all the records. To do this, I only pass the page number to show the url and reload the same page, which works. Now I have the need to show and paginate the...
asked by 04.11.2016 / 14:05