Questions tagged as 'javascript'

1
answer

Improve table look with jquery

I have the following code in head to give a better appearance to my table but some reason does not work, the table stays like this, what can it be? <head> <meta charset="UTF-8"> <title> Tabla PHP </title> &...
asked by 19.10.2018 / 04:48
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 / 03:23
0
answers

Fetch access-control-allow-origin

I'm calling an API with a fetch, when I make the call I get the following:    Failed to load link : Response to preflight request does not pass access control check: No 'Access-Control-Allow- Origin 'header is present on the requested resour...
asked by 09.10.2018 / 02:04
2
answers

How can I get the data of a specific field from a tabl, by using php and js?

I have a problem when I try to get the id of a table here $salida.="<table class='table'> <thead> <tr id='titulo'> <th scope='col'>#Contrato</th>...
asked by 09.10.2018 / 16:24
2
answers

Pass several variables with javascript from a view to a function in the controller

Hello stack overflow friends in Spanish, my question is if you can help me to pass more than one variable in the following code, I will be very grateful <script type="text/javascript"> function PagarCuotaCuenta(cuotas,importe,i...
asked by 09.10.2018 / 20:42
0
answers

Leave fixed, without scroll a side menu mobile css

my problem is that, when using my page in a mobile resolution, I open the menu, and it does not stay fixed, that is, if I scroll, it takes me down the page, when what I'm looking for is the opposite . Also, I use a transparent background in the...
asked by 09.10.2018 / 22:06
0
answers

script jquery stops working

I have a jquery code that hides and shows an answer ... but when I paste it several times to activate several answers it stops working, code: <a href='#' id='alternar-respuesta-ej1' style='float: left; color: #ff0000;'>Mostrar respuesta&...
asked by 09.10.2018 / 22:34
0
answers

How to select an element of an object in AngulaJS?

I'm creating a navigation bar and I'm looking for an icon that, in addition to changing the page, changes the icon of gray scales to color. And deactivating the previous menu doing the opposite. <!DOCTYPE html> <html> &...
asked by 09.10.2018 / 23:28
1
answer

Enable a text box with select

I'm trying to enable a text box with select with jquery Here the code of js <script> $('#RegistroInmueble5DeSeguro_id_moneda').on('change', function (e) { $(this).find('option').each(function () { $(this).removeAttr("disab...
asked by 10.10.2018 / 00:24
1
answer

Pass a Javascript variable to a php file as a variable other than php

How could this variable be passed to php, since I need it to make sql queries to a server. Resolved I sent via the fetch api, with POST the variable: fetch('./php/views/certificacion_afiliacion_trabajador.php', {...
asked by 03.11.2018 / 01:51