All Questions

1
answer

Take data out of a function

Good, I need to get the variable "users" of this function and the for loop, I thought about using promises but I'm new with that and I can not find the round var ids = [ "RtSG7NApoda9ycDRd7vm", "TnT9XOXnkD1Ra5ROJERR", "55fAOlOlej...
asked on 23.01.2018 / 21:04
1
answer

Insert a label to all the labels that have a class in specific

I want to insert a li tag into all ul that have the class or id 'father' . And that ends something like this: <ul id='padre'> <li id='hijo'></li> <li id='hijo'></li> </ul> <ul id='padre'&g...
asked on 31.10.2018 / 16:00
2
answers

My database was not utf-8, how to fix the tildes, once already inserted PHP [duplicated]

Good morning. I have a database of 120 records, it is small, but it has an error when there are tildes, for example José a Josà ©, since it is something of practice there is no problem but if it were something bigger, it would have solution, a...
asked on 25.01.2018 / 21:01
2
answers

Use Select statement so that multiple columns appear in only one

Using MySQL, I try to select, for example, the name surname 1 and surname 2, everything appears in the same column with the name Full name. I have tried to solve it using the following but when executing it the results are displayed at 0 or n...
asked on 24.01.2018 / 17:19
3
answers

delete tr from a table and keep the order of the IDs

I wanted to know if there is a way to delete a row from a table using jquery where the ids are ordered correlatively keeping the order. This is, for example: <tr id=1> <tr id=2> <tr id=3> If I delete row 2 it should look l...
asked on 18.01.2018 / 14:55
1
answer

Inheritance in JavaScript

Good, we have seen a bit of object-oriented programming in javascript and have sent us to do an exercise to use inheritance. You have to calculate the volume of a cylinder in which we have to use the radius of a circle from a previous exercise....
asked on 17.01.2018 / 14:45
2
answers

Error selecting Checkbox

I have the following code (very simple) if (document.getElementById(id).checked == false) document.getElementById(id).checked = true; And it works perfectly, but it shows the following error As I said before, it works. But I n...
asked on 17.01.2018 / 12:58
2
answers

One-dimensional arrays in C ++

What are the one-dimensional arrangements for? int Temp[12];     
asked on 10.04.2018 / 14:08
2
answers

Collect id from a file with right click

I'm designing a web app, a cloud. When I upload a file to the database of the one ID, I show the file in question by screen. Up here without problems, the problem comes to me when I want to perform X action on that file. I have disabled the righ...
asked on 10.04.2018 / 14:28
1
answer

Modify value of html attributes with angular2

I want to change the value of the attributes according to the index but the page remains blank <div *ngIf="detallePost"> <div id="accordion" class="container"> <h2>{{ detallePost.title | uppercase }}</h2>...
asked on 10.04.2018 / 07:08