Questions tagged as 'javascript'

2
answers

Filter data from an array in angularjs

I have the following arrangement of objects: $scope.name = { "cliente":[ {"id":1, "dato":"des"},{"id":2, "dato":"eeeee"} ], "detalle":[{"id":1, "dato":"oooo"},{"id":2, "dato":"ccccc"},{"id":2, "dato":"xxxxxxxxx"},{"id":2, "dato":"zz...
asked by 01.02.2017 / 15:42
2
answers

Get all matches given a value of an array of objects

What I want is that in the following arrangement when a value is entered in firstname I bring all the fixes with that value but with its lastname in an array: var persons = [ {firstname : "Malcom", lastname: "Reynolds...
asked by 01.02.2017 / 16:09
1
answer

Rental time control

Friends, I have a problem with a code, I hope you can help me. What it does is take the available cars from the database, then place an image of each one so that they can be rented. Once rented, you must mark the percentage of time elapsed ac...
asked by 31.01.2017 / 22:46
1
answer

Error: not suitable method found for showInputDialog in Java

I am trying to create a program that stores license plates and names to create a database, however, when I run it, I get this error: apturas.java:71: error: no suitable method found for showInputDialog(<null>,String,String,String,String)...
asked by 01.02.2017 / 15:27
2
answers

Error returning JSon data from the driver

I have the following code in my controller where I send the list of cities to a JsonResult private ApplicationDbContext db = new ApplicationDbContext(); //la linea anterior es donde instancio el modelo de datos o data context public JsonR...
asked by 14.12.2016 / 16:55
2
answers

Listener CheckBox

I'm doing a js that responds to when I click on a checkbox: function actionCheckbox(){ var chkAp = document.getElementById("ahorroAP"); var chkCa2 = document.getElementById("ahorroCa2"); var chkAhorro = document.getElementById("aho...
asked by 14.12.2016 / 14:58
1
answer

Modify ReactDataGrid from 'react-data-grid'

Having the following component: link Can someone tell me how to put a component that is not an input, for example a checkbox, inside the row? Seeing the code of the previous link I tried to do this: const check = <input type="che...
asked by 15.12.2016 / 11:11
1
answer

Problem with the browser and highcharts

When I made the application it worked great. I create a graph of highCharts based on several queries to the database and I assemble it with PHP. This is called by means of an AJAX, this is the ajax: //TRAEMOS LA INFORMACIÓN CUANDO SE DA CLICK...
asked by 10.12.2016 / 21:15
0
answers

Zoom Image Gallery ACF

I would like to make a magnifying glass, or a zoom in an image of my image gallery when I pass the pointer over it. I have seen that with the imageLens function it can be done, but it does not work for me. Attached code to see if you can help me...
asked by 09.01.2017 / 20:37
1
answer

Read JSON file on android

I try to log-in, the server being programmed in Javascript (using node.js). The problem that I have (which I saw is very common but still do not find my problem back) is that when I try to read it I get the following message: Value //Objeto J...
asked by 08.01.2017 / 19:32