Questions tagged as 'javascript'

1
answer

Uploading a ZIP with an input generates an erroneous file

I have a <input name="shp_local" id="shp_local" type="file" ></input> I can upload files of any kind and the temp file generated on the server is correct, but when I upload .zip it generates a bigger and more inconsistent file....
asked by 20.11.2017 / 11:13
1
answer

integrate awebsome font in HTML page [duplicated]

How can I integrate the catalog of font icons awebsome on my page and when the user selects one can know the tag of the icon that the user selected     
asked by 16.11.2017 / 21:25
1
answer

Generate several images with html2canvas and convert to PDF

With the following function you can get a part of the HTML to convert to an image and save to PDF Question What would be the form, in such a way that allows me to obtain several different IDs in document.body and generate several images and m...
asked by 17.11.2017 / 00:54
1
answer

Change value of 'meta' in link css after onload

I have a problem. I'm trying to use asynchronous CSS loading to optimize my graphic elements. In the <head> of my html I have several links of .css (example:) <link id="cs1" rel="stylesheet" href="css/ZooCss.css" media=...
asked by 16.11.2017 / 21:18
2
answers

Pass data between windows

Good morning friends, I have the following question: can you pass data from a daughter window to a parent? I already know that you can pass data from a father to a daughter through ajax, but how do you do the opposite? It's something like...
asked by 21.02.2018 / 21:22
1
answer

How to use CSS within a jQuery?

What I want is that this jQuery { <script type="text/javascript" class="navegacion_header"> jQuery(function(){ jQuery(window).scroll(function(){ if(jQuery(this).scrollTop() > 200) { jQuery('#logo-img img')...
asked by 05.12.2017 / 17:02
4
answers

Two select html required

I have a form with two selects and both are "required". I want the submit to be done when changing the second one, but I have set it onchange="submit ()" and it does not work, it does submit although no option has been selected in the first one....
asked by 26.01.2018 / 10:45
1
answer

Convert a file into a binary array from JavaScript

Hello, I would like to know if there is a way to convert a file / file into a binary object from js and then pass it as a parameter in ajax . If we assume that I am taking a file from a input type = file and then I want to pass it to the se...
asked by 16.11.2017 / 00:52
4
answers

Assign value to hidden div

I am a newbie and learning new things, I would like them to help me solve my problem, I am working with 3 different radiobuttons and when selecting a certain radio a hidden div appears: the radiobuttons are called like this: monthly_payme...
asked by 16.11.2017 / 15:52
2
answers

How to start from the second property of an object in javascript?

I have the following method: $http({ method: 'GET', url: '../ws/parqueos' }).then(function (success){ $scope.parqueos = success.data.records; for($scope.parqueosDisponibles in $scope.parqueos)...
asked by 10.11.2017 / 05:06