Questions tagged as 'javascript'

1
answer

File upload does not work in Firefox

I have been working on an online storage server via the web. I have developed all the functionality of the system using servlets and I have all file management working. The problem is that the file upload does not work in the Firefox brow...
asked by 21.01.2017 / 16:17
1
answer

Rotate an image by clicking - DOM - Javascript

I have the following CSS where I have the classes to add the rotation effect on an element: .animal{ width:200px; height:200px; margin:25px; float:left; background-size: contain; } .rota{ transform: rotate(360deg);...
asked by 31.05.2017 / 14:18
1
answer

Show text only once

I have the following code: // Re-usable var's var cc = []; // Main array var div = document.getElementById('array'); var t = ""; var w = ""; var c = ""; // End // Add element at first w/ push() for(let i=0; i<=10; i++)...
asked by 13.06.2017 / 02:40
1
answer

Cut with Javascript a String indicating Strings as start and end

I have a string that contains code HTML with tags <img> in it, I need to create an array with the src of each img but I can not tell you by numbers where to cut, because I do not know where the tag appears i...
asked by 19.01.2017 / 10:12
1
answer

Request to external XML files

I work in NodeJs , I started using an API for anime / manga search , but unlike other APIs that I used, it was not available in > JSON , only in XML . The format it has is the following: <?xml version="1.0" encoding="utf-8"?> <...
asked by 12.01.2017 / 23:07
3
answers

How to reload data table when closing a modal?

I use datatable to list some data brought from a database which I have a button to edit, that when I press it shows me a modal window, which I look for the form that was just updated that table is updated without having to reload the page...
asked by 14.02.2017 / 22:48
1
answer

how to read file with javascript? [closed]

I have a file that contains a list of data, an "array php", and what I want is to read it with JavaScript to convert it into a JavaScript array.     
asked by 18.02.2017 / 13:19
3
answers

How to clean a data to take another one in jquery?

I have a select in html that when I choose an option automatically by means of a ajax it goes to php and it responds me in json and it shows me the corresponding data of that id of the option I chose in...
asked by 02.01.2017 / 22:48
3
answers

Control function flow in AJAX

I have several AJAX functions and what I want is to have a function that controls that when one is finished, execute another one. This is the scheme. function ajax1(){} function ajax2(){} function ajax3(){} //solo cuando termine ajax1 ejecuta...
asked by 28.10.2016 / 08:53
1
answer

The Internet Explorer browser does not download the file correctly

I have a problem downloading a file with Internet Explorer in any version. My problem is that I receive an array of bits from my controller which I receive in JSON and I download it from javascript . Note: I do not have...
asked by 21.09.2016 / 00:15