Questions tagged as 'javascript'

2
answers

problem changing the css class of an element before triggering a form

I have the application mounted and wanted to make a small effect with css for the customer table, by adding the class rot180 that flips the arrow (selected) to sort the results in the head of the table. Well, in the onclick of the arrow on the a...
asked by 28.12.2018 / 17:46
1
answer

MYSQL query is not executed

I have not been able to solve the following problem, I have a form which is valid with smoke.js in the following way: $('#btn_guardar').click(function () { if ($('#form_datos').smkValidate()) { var datos = 'nombreUno=' + $(...
asked by 28.12.2018 / 16:39
0
answers

How to get cursor coordinates in a textarea and display a div below the cursor

I have a code that I want to improve, currently writing an arroba in a textarea displays a list of registered people to add mentions. That list opens on a div below the textarea. Desire is to obtain the cursor coordinates within the textarea and...
asked by 27.12.2018 / 14:14
1
answer

Send value of an input type tex to a data list

Dear good afternoon: Requesting your kind support, in php I have a input type text where the user enters a Social Reason and when clicking, same string enter it into a datalist inside a function in javascript. I've seen the r...
asked by 27.12.2018 / 21:10
0
answers

Pass functions from child to parent in Templates Vue

Hello in this function beforeTabSwitch: function() , how can I simulate a submit and call me the function that is in a template vue son, it is all in one, but I had to separate each form within a tab, this I have in my template son...
asked by 27.12.2018 / 23:11
1
answer

TypeError: answer [0] is undefined [duplicated]

How are you? I have this Code: $(".validarIdProducto").change(function(){ $(".alert").remove(); var idProducto = $(this).val(); // console.log("​idProducto", idProducto) var datos = new FormData(); datos.append("vali...
asked by 26.12.2018 / 07:16
1
answer

Error $ not defined (Uncaught Reference Error: $ is not defined at sendDataAjax)

function addRowDT(data) { var tabla = $('#tbl_pacientes').DataTable(); for (var i = 0; i < data.length; i++) { tabla.fnAddData([ data[i].IdPaciente, data[i].Nombres, (data[i].ApPa...
asked by 26.12.2018 / 05:58
0
answers

implement services, implement components

implement in "userService" (already created), all the methods to manage the API of users have to contain a get all (get), a save (post) a modify (put), a delete (delete), a get by id (get) Could someone help me? private baseUrl = 'jso...
asked by 26.12.2018 / 15:26
0
answers

You can not find the Get method in Node.JS

I have the following code on my Node.JS server that queries a database: if(response.context.rfc){ var valorRFC = response.context.rfc; connection.query('SELECT * FROM pruebas.Usuarios2 where RFC =...
asked by 27.12.2018 / 00:36
0
answers

Error saving JqGrid edition

I'm trying to make the edit online and local mode, the error is that when editing a record not edit the correct one but another, and that is because it does not get the correct rowid just returns me: last that is the rowid that returns to m...
asked by 26.12.2018 / 17:54