Questions tagged as 'funciones'

2
answers

Store JavaScript variable within a PHP variable

The next problem is that when a person selects an option of a select, the value of that chosen option is obtained and stored within a php variable. Here I get the Id of the selected option. It occurs to me, for example, to use done or suc...
asked by 11.10.2018 / 03:57
0
answers

Can not read property 'get_file' of undefined

As I can solve this error, my code is: odoo.define('backup_all', function (require) { "use strict"; var core = require('web.core'); var Widget = require('web.Widget'); var framework = require('web.framework'); var web_settings_dashboard = re...
asked by 19.10.2018 / 05:23
2
answers

error: passing argument 1 of 'count_elements' makes pointer from integer without a cast [-Wint-conversion]

I have a program that aims to calculate the number of elements that an array has. For that the arrangement enters a feature count_elements that counts the number of items and returns the total. The issue is that when I try to show the content of...
asked by 07.10.2018 / 16:33
1
answer

Delete an item from a Haskell list

I need help to make a function in haskell in which you have a list and a number and then return the list without the given number Enter [1,2,3,4,4,4,5] 4 Show [1,2,3,5] This way removeElement :: (Eq a) = > [a] - > a - > [a] Gre...
asked by 05.10.2018 / 04:04
0
answers

Voice to JavaScript Text using Annyang

I am putting together a project in which the site is based all over the Annyang library using this library, choosing to speak by microphone and this will execute commands. I have my current javascript code <script> "use strict"; i...
asked by 04.10.2018 / 23:40
1
answer

Using functions with ajax

Good morning friends of this forum. I have a problem, when executing a js instruction from a function that is executed with the onreadystatechange of the ajax, whose purpose is to update the data of a form, some instructions are not ex...
asked by 29.09.2018 / 13:23
0
answers

How to execute a function, after having obtained a server value, jquery?

Good morning. I have the following function where it returns the value idPedido function obtenerPedido() { axios.get('https://URL/Pedido?CodigoCliente=${codclienteAfiliadoPedido}&Cod_Trib=${cod_trib}&TipoSocio=${idtiposocio...
asked by 27.09.2018 / 18:06
0
answers

Postgresql function with temporary tables

I have a function that has 6 LOOP cycles in it, I need to insert it into a temporary table with data I get RECENT in the last cycle, but when I enter the second LOOP cycle the temporary table disappears and I can not find it. Can I make that tem...
asked by 25.09.2018 / 20:06
1
answer

Function of PHP to buy data against a table created with a FOR

I have a table in html of turns that is dynamically created with a FOR having as limiting the schedules that the doctors work and I need to create a SELECT in a modal with the available schedules but I can not find the way to compare the schedul...
asked by 20.09.2018 / 21:30
0
answers

Pass id value of a button to a mysqli php modal

I'm trying to pass a value from a button to an editing modal, the development I'm doing in php and mysqli the outputs are giving me a perfect way and the idea is not to leave the same page. to make modifications of the users, but I have found th...
asked by 16.09.2018 / 17:29