Questions tagged as 'eventos'

2
answers

Event that identifies when the browser is resized.

Is there any event javascript that identifies when the browser resizes the page? I'm having problems with page resizing with a FancyBox window, which loses its dynamic changes and returns the setting when it was opened.     
asked by 20.03.2014 / 18:46
0
answers

What possible values in document.readyState?

I noticed in the MDN documentation, both when in the W3 documentation (do not confuse with w3schools ) loading document still loading interactive document has completed loading and "document" has already been processed, but im...
asked by 29.10.2017 / 16:16
1
answer

Multiple component events in only one method

I have several events of my textbox, the problem is that I have a 30 in my form. I would like to know if there is any way for me to improve my code, reduce it by creating only one method to handle all of those events. Three TextBox sample eve...
asked by 22.05.2015 / 13:18
1
answer

Creating an Event in a WebService

I have a Webservice that has a method that writes a new inbound record and updates the list that contains those entries. Now I need the client to sign a Webservice event so that whenever a new record is added the event is triggered on the client...
asked by 01.02.2016 / 19:22
2
answers

How can I create events in a safer way?

I'm creating events according to the code below, however it seems to be a slightly dangerous way, since if there is no event cancellation it will accumulate with every "trigger" of the event, ie if it occurs three times on the fourth time it wil...
asked by 29.09.2015 / 16:41
1
answer

Difference between methods to close JFrame and JDialog after keyboard event

I need to deploy to a desktop application built using swing , a way for the JFrame master to close the application when the user clicks ESC , and the JDialogs daughters of this%
asked by 17.02.2016 / 17:09
2
answers

.addEventListener () is not a function

I'm setting up a script for modal, however an unexpected error occurred, the console says:   Uncaught TypeError: loginBtn.addEventListener is not a function '"," at modalsGeneral (index.html: 233) "and" at index.html: 235 ", How can I fix...
asked by 19.04.2017 / 14:27
2
answers

How to activate an event from a class change

I have the following problem, I made navigation arrows for some elements and depending on the active element, I need to change the CSS of another element. In the example below I would need to change, for example, the background of the body to...
asked by 02.01.2017 / 15:35
2
answers

JavaScript in iOS: Avoid clicking events while scrolling on iPhone / iPad

Scenario: I have a table and on the Desktop should I double-click to access the contents of each table item. On mobile devices like tablet and smarthphone double clicking does not work and you need to implement just one click / touch....
asked by 15.07.2014 / 17:59
1
answer

Jquery keyboard event does not respond

I made this script to move a div by pressing the arrow keys. The right and bottom keys are working perfectly, however, the top and left are not, the code is the same as the others. Follow the code below:               <script src="...
asked by 01.01.2017 / 18:02