Questions tagged as 'javascript'

0
answers

Turn option values into json format

Hello, I have the following question, I am dynamically creating the selected, for each option of it selected, it contains two values: DominioID and PaiID, but I need to pass both at the same time but I am not able to transform this value into js...
asked by 15.12.2018 / 13:56
0
answers

PWA - with Vue and Vuex

I'm having a problem rendering the list in real time on smartphones, I get Vuex with computed: produtosFiltrados() { return store.state.listaProdutos.filter((produto) => { let query = produto.nome.toUpperCase(); return query.ma...
asked by 23.12.2018 / 14:56
2
answers

Why does my onclick on an onload not work?

I'm using this code however from onclick it does not work if I click on the "fa-search" element, however if I paste the same JS into the chrome console it works as expected. I wonder why? I imagine it's something that is scope related....
asked by 17.12.2018 / 13:14
0
answers

Sort the opposite with .each

I have a screen that lists me some skills, they come from the bank in the following format. ThelasttwoarethepaymentsthatareOKandsoonafteritstartstherest,where0219isFebruary2019,>0319March2019andsoon.ButinmylistingIneedittodisplaythenextcompe...
asked by 17.12.2018 / 14:19
2
answers

Send List + Parameter for Controller

I'm trying to send a list and a parameter to my controller. My controller looks like this: @RequestMapping("/lista-receitas") @ResponseBody public String recebeLista(@RequestBody List<Receita> receitas, @RequestParam("nome") String nome)...
asked by 17.12.2018 / 13:45
1
answer

Get the tr value that the user clicked on a PivotTable

Hello ... I have a problem for many days and I can not resolve it. The situation is as follows: I have a table that is created dynamically from the data in the database: Whentheuserhoveroveranoption,itishighlighted: Ineedtoclickonasele...
asked by 12.12.2018 / 04:42
0
answers

Video Element Duration and Proportion Attribute

I have a pretty challenging problem, it seems. I'm working on an AngularJS project with uploaded files, my role is being to upload videos that currently does not exist the possibility. We've used some libraries like angular-file-uploader just...
asked by 12.12.2018 / 13:25
1
answer

Does anyone know how to Validate if the CPF exists in Angular 2+ or not? I'm looking for and I can not find anything

I'm looking for a way to validate whether the CPF is valid or not in Angular 2+. I've searched a lot for the internet but I do not find anything specific. Someone can help me on this, I'm a rookie in Angular.     
asked by 05.12.2018 / 18:00
0
answers

Reload table without refresh after submit Javascript

Good afternoon I have a table inside a modal, which extracts the data from a main screen, but when I change and give a save without refresh the modal does not update; MAIN AND MODAL FABRIC MINES MYSUBMITCODEjQuery(document).ready(funct...
asked by 05.12.2018 / 18:15
1
answer

AJAX request with FOR

My real question is: do you understand why your loop executes in the first ajax request, only to then loop in the second ajax request? Today I have this result: HTMLandJScode<html><head></head><body></bo...
asked by 05.12.2018 / 18:21