Questions tagged as 'function'

0
answers

I have a button that performs an action as I do that at the end of the action another button is automatically executed

I have a button that takes a screenshot of a div by clicking on a button that div has a photicle that by clicking on the save button is saved by submit in mysql but I would like to click on the capture button (screenshot button) execute the func...
asked by 05.09.2018 / 17:10
1
answer

Function receives data table

I tell you, I have a function CREATE OR REPLACE FUNCTION test_funcion(x numeric) RETURNS TABLE(codigo character varying) AS 'consulta' LANGUAGE sql; Which when entering an id (X) brings me a list of codes of purchases of that client ....
asked by 19.07.2018 / 22:57
1
answer

FUNCTION GREATEST () IN SQL

MYSQL can handle a GREATEST() function which SQL does not have, and I try to change the following line of code: SELECT GREATEST(Efectivo,Cheques,Depositos,Tarjetas,Vales) INTO M FROM movcaja WHERE sys_pk=MovCaja; He managed to cha...
asked by 21.06.2018 / 18:32
1
answer

Use google maps with data brought by ajax

I'm bringing data from an external api with ajax, which gives me the longitude and latitude but when I apply it to google maps it does not read the data. This is the code of the ajax query jQuery.ajax({ url: "https://quasar.e-htl.c...
asked by 15.06.2018 / 03:45
0
answers

Load functions from one external javascript file to another

For organizational reasons, I would like my content to be a little more "classified" and I am creating .js files that share content and functions. The problem comes when I try to incorporate that content into other .js files, I'm using import...
asked by 22.05.2018 / 11:20
3
answers

Call a function that takes parameters and returns two values

I have done several searches on the Internet, and I have found how to return two values in a function, and then how to access them, but what I need is to use a function to which a parameter passed and which in turn returns two values, I know thi...
asked by 22.03.2018 / 13:57
1
answer

Fix a javascript function

Greetings guys I have the following code function botonver(a, b) { imgnormal = "media/imagen/pdf.png"; tituloboton = "Ver PDF "; botonpdf = "<img class = 'clase2' src = '" + imgnormal + "' width = '50%' />"; iniciotb = 4; return "&l...
asked by 11.03.2018 / 03:08
0
answers

Help with godot engine script calling functions

I have a problem with godot engine , I'm doing a rpg and now I'm doing the dialog system, and for that I do a scene that has a sprite for the style of the box, a RichTextLabel , and a Timer , in script I ha...
asked by 05.08.2017 / 00:30
1
answer

What is the correct way to save results of a function in a dataframe with python

I'm working with information on a Formula 1 grand prize, I use a function that calculates the time each driver takes in the pits during the race. In this way my function is iterable for each of the pilots. My question is, what is the most effici...
asked by 25.07.2017 / 02:55
0
answers

C - Sometimes a function is not executed

I have a pseudo graph conformed by adjacency lists, where tree is an array of "lista_t" typedef struct nodo { int value; struct nodo *next; } nodo_t; typedef struct { nodo_t *primero; nodo_t *ultimo; int len; } lista_t; Well and...
asked by 06.07.2017 / 09:47