Questions tagged as 'javascript'

2
answers

How does the prototype of an object work?

How do you USE the prototype of an object to be used in others?: Having this prototype: Estadio.prototype { Utilidad: 'Fútbol', PastoSintetico: true } My problems are:    1) Does common ownership and method refer to...
asked by 09.05.2017 / 12:54
1
answer

Change mysql query with javascript

I have a problem and I do not know how to solve it, I show my code of a select loaded with mysql data, <?php $link = mysqli_connect("localhost", "root", ""); mysqli_select_db($link, "stp17"); $tildes = $link->query("SET NAMES...
asked by 28.03.2017 / 15:22
0
answers

Record Repeated in a table with infinite Scroll

I have implemented a table with infinite scroll in HTML with jquery, php, mysql. The query records are done correctly. In php, query intervals are handled well with the LIMIT clause of mysql. And in each response, the variables that control t...
asked by 29.03.2017 / 02:47
2
answers

Dynamic input with jquery

I need to create dynamic inputs /*Crear input dinamico: distancia de izquierda a derecha entre sanitarios.*/ $('#dynamicSanitary').change(function(){ var val = $(this).val(); var disSanitary = disSanitary; var innerhtml = '';...
asked by 21.03.2017 / 16:56
1
answer

Javascript closure in for loop

What I want is to go through the matrix material and generate a div for each element and that in the first div put elemento1 , in the second elemento2 etc. This is what I have: var material = [{nombre: 'elemento1'},{nomb...
asked by 21.03.2017 / 13:20
2
answers

Get values in javascript of a session array in c #

Hi, I would like to know how I can get the javascript values of a Session variable of c# that contains an array of strings. The code is the following: C# : if (Session["PolizasClientes_RowID"] != null) { Session.Remove("Polizas...
asked by 24.03.2017 / 20:26
1
answer

How to send data from an html table in nodejs?

I am trying to send data from a table using jquery to get the values from the table but not send them by POST method in node js, for the moment I only show them in an alert, like the jquery step to an app. post ('/ send_data');. $("#btnEnviarD...
asked by 27.03.2017 / 20:00
1
answer

show mysql query with javascript php checkbox

Good afternoon I have a code in php where a list has values of a mysql field: <div class="input-group"> <span class="input-group-addon">Ruta: </span> <select name="rutas" id="estados" value="0" class="form-contr...
asked by 27.03.2017 / 19:41
1
answer

tinymce with plugin responsive-filemanager, does not show image

I have installed the filemanager to the tinymce editor. The plugin works well, uploads files from the local and saves them, creates directories etc. The problem is that when I select an image to insert it in the editor, it does not do it corr...
asked by 30.03.2017 / 23:52
1
answer

Data list is no longer displayed

I have a problem, when visualizing the data assigned to a specific type of role, the data of the others are no longer displayed, the field is set. I have the following:     // Load the Role and the associated permissions according to the ID...
asked by 30.03.2017 / 19:42