Questions tagged as 'javascript'

3
answers

Open new tab with AngularJs [closed]

I'm trying to visualize a PDF that returns an API. The code with which it worked so far is this: $http.get(urlApi,{responseType:'arraybuffer'}) .success(function(data) { var file = new Blob([data], {type: 'application/pdf'});...
asked by 09.03.2017 / 11:09
1
answer

Clear Data Jquery When Opening Another Modal

I have a simple table, which by pressing a button takes that id from the row and sends a% to% co, which returns all the values for a php and it shows them to me in a pop-up window, in this case it shows me a name, the problem is that when...
asked by 23.01.2017 / 15:44
1
answer

Boostrap Dual List Box

Good morning, I would need to know please how to pass the result of the chosen options in a double bootstrap list to a php variable to do POST to another page. <div class="panel"> <form id="demoform" class="hide-list-label" action="#...
asked by 23.01.2017 / 11:54
2
answers

Copy a file with JavaScript

Good! I have a problem and I can not do something as simple as copying a file from a source to a destination , all locally using Javascript . p> How can I do it? I found an example like: myObject = new ActiveXObject("Scripting.F...
asked by 27.11.2016 / 10:13
1
answer

Can I create js files that execute mongodb commands?

The issue is that I want to create some scripts that receive parameters to later perform operations like CRUD. For example, having an application developed in x language, when wanting to make an operation to the DB, the request is sent to the...
asked by 24.11.2016 / 18:10
1
answer

How to create a custom bookmark with two icons in gmap v3

I need to be able to have a marker with at least two different icons, one of which has to have a float indicator number inside it, it occurs to me to create two markers in the same position but one with an icon in .png with a margin, clearly thi...
asked by 20.12.2016 / 13:32
3
answers

Change rowspan by ID using jQuery

Good morning, I'm making a website for the integrated project after finishing the higher degree of systems. The website is for a "gym". I was good until I had a schedule that I want to do and that is dynamic, that takes the data (of activities)...
asked by 31.05.2017 / 08:48
1
answer

Access key within json object

I have the following query By means of a ajax I get this json {"messageList":{"USER_DATA":{"nombre":"pablo","apellido":"santamarina"},"SESION_DATA":{"isUserLogin":"true"}}} What I want to do now is to go through the objects wi...
asked by 23.12.2016 / 15:20
2
answers

ListView - No memory

I'm starting to make a dates app. But I start with the first problems. I create a listview (to add the birthdays) but when I close the APP all the stored information is deleted. My code: MainActivity: public class MainActivity extends Ap...
asked by 26.12.2016 / 21:54
1
answer

Save the data of a postgresql query in javascript?

I am using Nodejs, for the postgresql part I am using pg-promise. The query is performed with the following function, but I would like to save the data variable, which is the one with the values of the query, so I can use them later....
asked by 01.12.2016 / 20:02