Questions tagged as 'javascript'

2
answers

why does this split function work by concatenating "" to a number in javascript?

I am doing a function to convert from binary to decimal and I needed to cut the entered number, and I got this question: link In it they explain that if you have an example number var numero = 123456; And you apply split () to get 1...
asked by 06.05.2017 / 14:15
2
answers

How to clean results of an HTML Tag? Javascript

I have a function that when I hit an html button calls a function javascript to print the results in a table already created but empty, which in this case is called "selected table". How could I make it disappear when I play again? I unde...
asked by 27.04.2017 / 17:33
2
answers

How to remove a property from an Object? [duplicate]

I have an Object that I want to delete a property miObjeto = { propiedad1: "valor propiedad 1", propiedad2: "valor propiedad 2", propiedad3: "valor propiedad 3" } What I want is to remove the property propiedad2 of the obj...
asked by 14.09.2017 / 00:10
2
answers

How do I compile the javascript v8 engine in ubuntu 16.10?

I am trying to compile javascript v8 in ubuntu 16.10 but I could not, I searched in google and not only found it compile it with scons and with GYP , but apparently it is no longer possible to use GYP , I found h...
asked by 14.12.2016 / 20:43
1
answer

select an option with multiple select

What I want is that when there are several selections, each one changes an id, I do not know if I explain it, I want to select an input and if this permission disappears the input will be several select <!DOCTYPE html> <html> <h...
asked by 20.10.2016 / 23:39
3
answers

Hide part of a text with a div

I have a text within a div with a paragraph ( <p></p> ) that I want to hide with another div above To achieve this I did with the help bootstrap collapse . <script src="https://ajax.googleapis.com/a...
asked by 14.12.2016 / 17:57
3
answers

How can I enter one element into another with Vuejs?

How can I place an element within another element, created by the function component of Vuejs? I have my code created with the Vuejs template, but I want to create elements within other elements, but I get an error and it shows nothing. L...
asked by 17.11.2016 / 02:27
2
answers

Hide download link path in PHP or javascript

I'm doing a download manager in PHP, through which a user can download a file. What I intend is the following Instead of passing the direct route to the file (www.dominio.com/ftp/archivo.rar) pass it, www.dominio.com/descarga.php?id=3 this in...
asked by 11.03.2017 / 00:41
1
answer

dynamic buttons - get the ID of the button pressed from javascript

I have a view, which dynamically creates several elements of type Button in the following way: @foreach (PacienteSeleccionDispensarDto paciente in @Model) { <input type="button" name="btnPaciente" id="[email protected]...
asked by 07.04.2017 / 23:34
3
answers

Javascript transform an array created from inputs checkbox

I have multiple input checkbox created from a model with angular and ng-repeat, when I select some of it I get this, for example: var accounts: [{'AA764':true}, {'AA324': true}, {'AA234': false}, {'AA553': true}, {'AA7365': false}];...
asked by 02.03.2016 / 03:42