Questions tagged as 'javascript'

0
answers

Can I save arguments in a variable to move to a function later? [duplicate]

Hello, I was wondering if it was possible to save arguments in a variable to call a function with them later. Try to demonstrate an example: let numeros = (1, 3); function adicionar(a, b) { return a + b; } adicionar(numeros); I want...
asked by 30.08.2018 / 13:01
2
answers

How does JavaScript obfuscation work?

I would like to know how this business "obfuscates" a JavaScript code. For example, there is an online service on a site that "obfuscates" the code on time. Just paste your code and it returns the whole "obfuscated" code: Simple code examp...
asked by 02.11.2017 / 03:19
0
answers

Angular SocketIo - Does not give error, but does not work

Good night, I'm trying to get the data in realtime with socketIO, but it does not work. Via console is sending and sending from the backend, but I can not show in the frontend nor does it show any information receiving data. tickets:any[]...
asked by 11.09.2018 / 04:14
0
answers

Display two custom graphics (image in the pointers) on the same page as Chart.js

I made an application that displays a chart (Line) from the Chart.js library. According to the value of the "date" attribute, the pointer may vary: below 25 a triangle is displayed and from 25 upwards an image is displayed, which in this case is...
asked by 11.09.2018 / 03:37
2
answers

Pass two parameters at a time to the controller - A parameter is in an Input Group

Good morning everyone. I'm new to Asp.Net and I've got a personal project to do, but I'm having difficulty passing parameters to the controller. I do not know how to pass more than one parameter at a time. I have a modal to change the type of...
asked by 29.08.2018 / 13:28
2
answers

Convert a call form action to axes

Good evening I'm having trouble converting this code <form action="https://www.personal.com.py/ApiComerciosMaven/webresources/autenticacion/" method="post"> <p> AUTENTICAR USUARIO </P> <p style="font...
asked by 29.08.2018 / 03:37
0
answers

Animation does not appear in section

Hey guys, I'm doing a site in bootstrap 4 and I want to put an animation with animate.css, how it's divided into classes, I just put the class and that's it, but the effect happens when you load the page and I want the effect to appear when the...
asked by 29.08.2018 / 09:37
2
answers

Sort array of objects relative to each other

I came across a problem: I have data coming from a database that are related to each other so that each field has two others - one referring to the previous field (in the table) and the other to the next field. Something like this: ... dema...
asked by 28.08.2018 / 02:34
1
answer

Function to get text value of an accessed URL

I tried to create a small function, it looked like this: $(document).ready(function(){ var value0; $.get( "file.php?id=1", function(data){ value0 = data; }); arrayAmount[0]=value0...
asked by 03.09.2018 / 15:07