Questions tagged as 'javascript'

0
answers

Not working UI-GRID AngularJS

I'm trying to make a table that can be sorted, in AngularJS with ui-grid. The html code is this: <div class="ui-grid" ui-grid="$ctrl.gridOptions" ui-grid-pagination ui-grid-resize-columns ui-grid-auto-resize></div> In the js, th...
asked by 25.10.2018 / 08:13
0
answers

Extraction of images with Script as to do?

Someone knows how I can extract images with a script from a folder or path, having an excel list with its respective name, but if I want to extract only 5 because in the script I should have the 5 names and so on without having to extract all or...
asked by 25.10.2018 / 19:51
0
answers

Learning to use scripts

You see, I have the following code: <script> function jmgModal(id, data, ok, cancel, input){ data=data || {}; id="modal-"+id; if(document.getElementById(id)==null){ var d=document.createElement("div"); d.c...
asked by 25.10.2018 / 19:47
0
answers

Error Notice: Undefined index: rate in C Bd mysql Php

What happens is I have a variable in javascript called rate, and when I save this variable in the DB I get an error, I do not know why this error is due or how would I save a variable (fix) of javascript in Php? . WITHOUT AJAX. Here is the co...
asked by 25.10.2018 / 18:45
0
answers

Enable Inputs According to a select - PHP- SQL SERVER

Cordial Greeting, I hope you are well and can help me with what I want to do: I have a Select, loaded from a database: include'conexion.php '; $sql = "EXEC SP_COMBO_PAGADURIAS"; $stmt = sqlsrv_prepare($conn,...
asked by 23.10.2018 / 16:38
2
answers

White screen to run an alert js in php

<?php // Start the session session_start(); ?> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">...
asked by 24.10.2018 / 16:10
0
answers

Firebase query

How could I access the sub index of the object I show in the image. I'm trying it with Object.values (sale [key]) , it works but I can not add more attributes. Any help? This is the code: Claro firebase.database().ref('venta/' + this...
asked by 24.10.2018 / 15:40
0
answers

FullCalendar does not update automatically when adding an event

Please read the comment in each code. The code of the file that inserts the data is: <?php header('Content-Type: application/json'); $conexion = new PDO ("mysql:host=localhost;dbname=scouts_601_palmira","root",""); if(isset($_GET['id']...
asked by 24.10.2018 / 15:41
0
answers

Error filling input with Json and sqlsrv

The system must fill in the input fields once the routine is entered but it does so and I do not see any type of error. index.php <!doctype html> <html> <head> <meta charset="utf-8"> <title>Ingresar clientes<...
asked by 22.10.2018 / 20:41
0
answers

Does anyone know why this error is coming out? SyntaxError: Unexpected token F in JSON at position 2

This function gives me data that comes from several queries in order to make some calculations but when I call it, it sends me directly to the error. It never enters success: function (data), does anyone know where the error is? This is the...
asked by 22.10.2018 / 20:14