Questions tagged as 'javascript-eventos'

1
answer

JavaScript onClick event does not work with data-modal - Asp.Net Core MVC

I have a DataTable in my Index in which lines are loaded using JavaScript. The Edit, Details, Delete, and History buttons are created together. All of them open in a modal window (the modal block is inside the Index) ... In the html of each butt...
asked by 09.06.2018 / 13:21
1
answer

Javascript SubFunctions

How do I create sub-calls in Javascript functions? Below is an example of use, my question is how to create such a function. Depending on what happens inside the "Travel" routine, the call is called "Arrival" and / or "Problem" this.Viajar(...
asked by 11.05.2018 / 18:22
0
answers

How to trigger a "Change" event of the Combobox to make a Post from a Modal?

I have an ASP.NET MVC project where I have a PartialView INDEX and another CREATE. in my INDEX, I have a Generic MODAL block where my PartialViews open in Modal form. <div class="modal fade" data-backdrop="static" id="pessoaHistory" rol...
asked by 14.05.2018 / 23:54
0
answers

ScrollView and ScrollTo - React Native

In my project I have a "Comments" button, and when I click it the expectation is that it will do a "Scroll To" until the comments section of the same page. But the file where the button is located is in different path / file where the comment...
asked by 06.05.2018 / 04:19
5
answers

Is it possible to listen to multiple buttons with a single addEventListener ()? If it is possible How to do with pure javascript?

</divid="num-vol"> <div> <button type="button" class="quina" value="1">01</button> <button type="button" class="quina" value="2">02</button> <button type="button" class="quina" value="3">0...
asked by 29.04.2018 / 02:39
2
answers

Eventemitter angular 4 does not work

I have a Profile.service that issues an event to two components that do not communicate. By clicking on the ProfileComponent link, it triggers the "ProfileService.emitBeneficies.emit ('profile.benefits')" and redirects to theComponentOptionalPro...
asked by 29.03.2018 / 18:13
0
answers

Apí Manipulate a sequence of images

I need an Api to do this manipulation of images. Example: link Note the blender is a sequence of images that gives the feeling of being 3D. I inspected the code and located the folder with a series of images and also found an Api KeyShot...
asked by 26.03.2018 / 14:30
1
answer

Angular TypeScript input change event

I have an input field that starts with a number ('.2-2'). This input is updated when a select field modifies its value. When this field is modified, the value of the numver input does not obey the formatting. The default value is formatted by de...
asked by 13.03.2018 / 14:56
0
answers

How to rotate and move the canvas with the keydown?

Talk the guys! I am a beginner in JS and HTML. There is a lot that I understand the reasoning but I fumble at the time of coding. I'll try to explain what I'm trying to do. I'm drawing a triangle (called Jack), with a little red nose (mini trian...
asked by 22.02.2018 / 18:42
0
answers

How to make a div increase or decrease using touchmove?

I'm trying to make a div open as the user drags his thumb down, and makes it close as he drags his thumb up. I searched and saw that I can capture the user touch on the screen with the touch events, but I can not make it work. This is the cod...
asked by 21.02.2018 / 18:44