Questions tagged as 'javascript-eventos'

1
answer

How to open the modal bootstrap form after a validation error Laravel 5.4

I have a modal bootstrap contact form. I have the validations where they are validating correctly. Now my question is: How do I when not to pass the validation it return the message in modal with it open. When it validates and does not pass vali...
asked by 27.08.2017 / 01:23
2
answers

How to create an event where when user press the space key something happens?

So far I have only this code snippet: personagemPular.on("keyup",function(){ I wanted to change this keyup by pressing space. And I'm also using a text area in HTML to receive keyboard input, how do I get it from anywhere on the screen?...
asked by 09.06.2017 / 20:22
1
answer

Javascript onclick / addEventListener without anonymous function

I have a problem with the onclick / addEventListener of javascript, I have already tried it in several different ways and none has resulted, I wanted my click event to be equal to a function already declared and not equal to an anonymous functio...
asked by 17.03.2017 / 03:39
2
answers

How to trigger pure javascript keydown event [closed]

How do I trigger events via code ex: keydown , keypress and then run a function when the Enter key is pressed, with pure javascript?     
asked by 03.01.2017 / 12:40
1
answer

Detect event click out of element

I'm learning to do tooltips, I've even thrown some previous doubts here in the OS, but I ended up with a new question; When I click outside the element that has the tooltip, it could close the tooltip, how can I do that? Current code: HTML...
asked by 22.03.2017 / 13:48
1
answer

How to create the programming logic to disable a button after an action?

Context: Home Approval data will only be saved if there is a saved amendment, the 'save' button should be disabled at first. When you save the amendment the 'save' button is disabled and your approval data will be saved. But how to d...
asked by 30.08.2018 / 22:09
1
answer

Move Scroll with Buttons

I need to move a horizontal scroll with buttons. I have a horizontal gallery with horizontal scroll, and I need to click on the buttons in the upper right next / previous scroll next image or previous depending on the click button. Exampl...
asked by 09.09.2018 / 07:09
1
answer

Action with scroll in javascript

My project is to make an animation on a logo using a css effect from the animate.css library, the animation will occur at a certain point in the site scroll. I have been able to do something, but there are two bugs or errors, which are: 1 ° -...
asked by 09.06.2018 / 03:28
2
answers

How to activate event by clicking anywhere on the screen?

I have a CPF validation and this "event" is activated when I click the "validate" button. I wanted this "event" to be activated when the user clicked off the input, as he typed the CPF and clicked and anywhere on the screen, then this validat...
asked by 20.04.2018 / 14:41
1
answer

JQGrid call a function with a click on a cell passing the line id

Good morning, I need 2 help from you. First time with JQGrid. I need to add another column in the grid with an image that will call a modal by passing the value of the line ID. 2- I also need to put a function that will open the editing sc...
asked by 19.03.2018 / 13:38