Questions tagged as 'javascript'

1
answer

Send Json from jQuery to Spring mvc

I want to send a Json with this format { "tarjetas": [ {"nombre":nombre, "id": id, "lista": lista, "idLista": idLista}, {"nombre":nombre, "id": id, "lista": lista, "idLista": idLista} ... ] } I build it like t...
asked by 29.03.2018 / 10:20
1
answer

Assign an option element of a select the overflow-x rule

It's simple, I've spent hours trying to adjust the option labels of a select to the size of this, without expanding beyond the width that I have assigned to the select. So that if the subelement is larger than the size assigned to the select, a...
asked by 28.03.2018 / 13:04
1
answer

Render two lists by commas in a bootstrap element by js

I do not know how old-fashioned this is ... or that you recommend me to do about it, but I have two lists separated by commas    122,1,3,1,1,2,2,1 and    EMPLOYEES, ANALYST OF ACCOUNTS PAYABLE, GENERAL ASSISTANT, BECARIO, DEVELOPER BI,...
asked by 16.04.2018 / 16:14
2
answers

Delete Javascript table row

Hello, I have a table, and in each row I have a logo and I would like it to remove it from that row ... My code is this, I leave the function to delete even though this is wrong ... Thanks <script> function createContact(){...
asked by 16.04.2018 / 07:43
1
answer

How can I load an angle4 module into an angular1?

Good day. How could I load a module that I have in a web app with angular4, in an application with angular1?     
asked by 16.04.2018 / 16:02
2
answers

Store values in Array from fetch

let arrayDatos = []; arrayDatos = fetch('url') .then(response => response.json()) .then(posts => return posts) I'm trying to fill an array with data that returns the fetch function, but asynchronous Javascript I can not fill it. U...
asked by 09.04.2018 / 19:52
2
answers

Problems with Array exercise

I am learning in Javascript, and I am stuck in this exercise, any help please?    Create a script in which given two arrays of numbers, if both have the same number of elements, show an array that contains the sum of each element that is in t...
asked by 22.05.2018 / 08:53
1
answer

Why does my onclick event mark me as undefined in my datatble?

What I want to do is call an onclick event with different parameters in each of my rows. Datatble Code: $('#MainContent_tabla').DataTable({ columns: [ { title: "Nombre" }, { title: "Id del Usuario" },...
asked by 22.05.2018 / 17:09
2
answers

How to update a specific field of a table without being related to another one by foreign?

I have a little problem with this code and maybe someone can help me. It happens that I have three tables, loan, item, inventory. the loan and item tables are related, but the inventory is not, the fact is that when I make a loan, I have to decr...
asked by 20.05.2018 / 04:41
2
answers

Do not execute an event on a certain element of my table

I have an event in jQuery, which when clicking on a certain row of a table executes an action, this action is done correctly but what I need is that when the user clicks any row
asked by 18.04.2018 / 18:19