Questions tagged as 'javascript'

1
answer

collisions with javascript and canvas

Hi, I'm good at this and I'm stuck with the collisions, in Mario.prototype.checkCollition I have to reposition the character Mario to the left of the obstacle but it's not that if I hit the other side it stays to the right, I do not know if it s...
asked by 30.05.2018 / 12:23
0
answers

Who can help me build this table in html?

I want to show a table in html of a query of the database of three tables that are related, the tables are structured as follows: Restaurant | Platos | Precios ----------------------------------------- id | id | id nombre...
asked by 21.05.2018 / 03:19
0
answers

Graph time on axis x Highcharts Stacked chart

I found this kind of stacked chart in the Highcharts examples, but I would like instead of having static labels on the X axis, to have a timeline. This is the example: link Thanks     
asked by 18.05.2018 / 18:51
2
answers

Chaining of promises with mongodb querys

Good morning, I would like to know how to chain promises that have queries to the database (with a callback within the promise). On the internet I have found that a promise of javascript can be executed in the following way: function shareC...
asked by 16.05.2018 / 16:23
5
answers

Disable / Enable according to a JAVASCRIPT data

I have a problem with this function, I do not really understand why it does not work for me, it consists of the following. I have a .twig done in symfony. In it I have a list of details of a particular book. What I want to do through Javascri...
asked by 26.05.2018 / 11:30
3
answers

Problem with javascript event handling when losing focus of an HTML span element

I have this code: <span contenteditable="true" id="Texto_publicacion_user_main_click" name="hola" onclick="publicar_usuario_texto();">Publica algo aquí</span> <span contenteditable="true" id="Texto_publicacion_user_...
asked by 26.05.2018 / 03:25
1
answer

How can I print the result of an ajax response in a table from javascript?

How can I print the result of an ajax response in a table from javascript? Currently I print it with a label inside the table, ideally the rows will be formed and not just a column with all the results of the answer. My js code: func...
asked by 22.05.2018 / 18:00
4
answers

Add the columns of an HTML table with Javascript

I have a table obtained from the database which I am trying to add columns to Total. I show the image so that it can be understood: HTML code <table id="tblKardexValorizado" class="table table-striped table-bordered table-condensed ta...
asked by 22.05.2018 / 18:08
1
answer

How to add Header to an Excel Report with PHP

I need to generate a report in Excel with Cabecera, that is, add who did it, the department, the time I downloaded the excel from the page. etc ... etc ... I already generate the report, but I have no idea how to add the other. This is the f...
asked by 23.05.2018 / 13:21
1
answer

Outgoing content of a dialog with CDM

I have a problem with a dialog using Material Design Lite, I have some tabs with forms inside but for some reason when I put more elements inside the buttons "Save" and "Cancel" go out of the limits of the dialog as It is shown below: h...
asked by 14.05.2018 / 19:39