Questions tagged as 'javascript'

1
answer

FULLCALENDAR (SHOW SPECIFIC EVENTS)

My problem is that I want to obtain specific events according to a value, and all the information of the events is retrieved from the db successfully from a file with the following code: header('Content-Type: application/json'); $conexion = ne...
asked by 04.10.2018 / 06:11
1
answer

Avoid self = this by using arrow functions ES6

In a JavaScript class, I have a function that calls a callback using a constructor's own variable. To not copy the entire class I will write an example: class Foo { constructor(bar) { this.bar = bar; } async_print() {...
asked by 21.08.2018 / 21:51
1
answer

How can I create an input dictionary with a forEach in Javascript?

What I want to do is create a dictionary in javascript and then use it in python. I have some dynamic inputs that have different attributes that I would like to put in a dictionary how can I do this? I would like an output more or less if:...
asked by 23.08.2018 / 21:54
1
answer

I only want to list the images but I also list the subfolders

This code lists all the files and folders in my folder, what I want is to just list the images, omitting the subfolders that I have inside that folder, images that I need in the code. <?php function listar_archivos($carpeta){ if(is_dir...
asked by 23.08.2018 / 20:02
1
answer

Popover with Bootstrap

I have the following code, (Only Html and Js) I can not make the POPOVER of Bootstrap work within the application itself, placing a button from the outside if it works but within the application it does not work and I have almost a week and I do...
asked by 05.04.2018 / 00:49
2
answers

Change attributes of a table

I have the following code and what I want it to do is that by giving the image the id of that tr in concrete and all textBox become enable ... I've tried it with document.getElementById("name").disabled = false; .....
asked by 17.04.2018 / 11:55
1
answer

How to define the width of a table and its th? so they look the same in Google Chrome and Firefox

I'm doing a project where I show different tables and I want to define the width of the tables and their th, in Google Chrome it works correctly but when I try it in Firefox I do not take into account the width of the table <link rel=...
asked by 02.04.2018 / 20:10
1
answer

Angular filter to pass HTML string

Hi, how can I do a angular filter, to read a string html , or how do I create a method to read a string html <div ng-bind-html="item.description"></div> why when I save text with he saves it but he show...
asked by 27.03.2018 / 18:57
2
answers

Put the time to input text in view html with jquery (not Php)

How can I put today's date by default to an input text when executing my view in html with jquery javascript? The only thing I have achieved is this code, which works but does not print in the input but in the body of the view: <s...
asked by 01.04.2018 / 11:56
1
answer

Subgrilla in jqGrid

I'm starting with jqGrid and I'm guiding myself with jqGrid Demos What I need is very similar to the example that appears in Advanced - > Master Detail , only that I need the "Invoice Detail" table to be displayed on another page and I...
asked by 02.04.2018 / 07:04