Questions tagged as 'javascript'

1
answer

Problem with highchartr, insertUI and removeUI in Shiny R. Error in shinyapp.js

Hi, I'm all working with an application shiny with a navbarPage several tabsetPanel . I would like the ui of each tab panel to be temporary, with this I mean that I hope to get the application to only load the...
asked by 04.10.2017 / 03:50
1
answer

There is some php method that resembles the indexof, push and reduces [closed]

Good to know if in php there is something similar to indexof, push and reduce javascipt     
asked by 05.10.2017 / 16:51
1
answer

Put a link inside a canvas

with PHP and through an SQL query, I get some parameters, which I show through a for and that end up showing up as a link. This is easy to implement and it works, but I want that link to be inside an HTML canvas and this is where the problems ap...
asked by 16.03.2018 / 23:27
1
answer

Input of type file to obtain value

I have a problem getting the value of my input : <input type="file" name="fileToUpload[]" id="inputFileServer" accept="image/png"/> In angular I have: var file = document.getElementById('inputFileServer').files[0]; console.log...
asked by 25.09.2017 / 21:38
2
answers

Get a json from php to use it in javascript

For example: ..datos: [ {a:56, b:"nombre1"}, {a:26, b:"nombre2"}, {a:16, b:"nombre3"} ] Inside data: [....] I want to add the objects. In the php I use, I have: echo json_encode($array, JSON_FORCE_OBJECT); But it...
asked by 17.03.2018 / 04:51
1
answer

Help Json Objects browse and display DOM JavaScript

I need help, I do not know how to get this out  If you click on a region you should appear next to the capital in red and below in different sub-lines all the populations ordered alphabetically (which you will ALWAYS get from the JSON) • Coma...
asked by 03.03.2018 / 16:04
2
answers

Why can not I see set property 'innerHTML' of undefined?

Good I've been looking for the reason why I get this error. I have read that it is because of the location of the script and that it is recommended to put it at the end of the whole since the JS reading is from top to bottom, but even so the sam...
asked by 16.11.2017 / 01:25
1
answer

CSS And JS in Font Awebsome icons

I have a problem with css that I have not been able to solve, I have a few icons of font awebsome and I want to place them inside the circle of color but I have not been able to upload the icons, I have the icons in a list, and also how I can do...
asked by 17.11.2017 / 03:34
1
answer

How to sort array formed by objects using .sort ()

I have a file that contains the object I want to manipulate. I think two for example. But when in the function of showing ArrayOrdenado () I apply the sort () to order it, being objects and not literals. He does not order me. My idea is that the...
asked by 15.11.2017 / 17:16
2
answers

JqueryUI sortable: the thead and tbody shrink when you drag a row with two fields with none display

I have a table with different rows and fields, in a row I have two fields with display:none; and when doing a drag of this row, there is an effect like side padding in <tbody> and in <thead> , the table does not s...
asked by 15.11.2017 / 16:55