Tagged Questions
3
votes
1answer
95 views
Find Elements With Events Attached
I am looking for a way to find all elements inside a container that have an event handler attached to them via a selector. This needs to include delegated/live events.
In the following example the ...
2
votes
1answer
137 views
JS - keyboard events - listen / unlisten
I have an issue concerning the keyboards events in JS.
First of all, please do not answer me to use jQuery methods, I know most of it (bind/unbind, on/off, one...) but I work with an internal ...
2
votes
1answer
84 views
Event listeners to the same event target which is called first
If I register two event listeners to the same event target. Which event handler will be called first?
Example:
document.addEventListener("click", function() {
// do something 1
}, true); // ...
2
votes
0answers
588 views
EaselJS onclick not firing
I'm using EaselJS JavaScript library to load some images on an HTML5 canvas element.
They are perfectly loaded and positioned but I can't click them because onclick event never fires.
What am I ...
1
vote
0answers
454 views
Remove or disable all event listeners for an event
I am using a JS framework which binds some DOM events with event listeners of its own.
What I want to do is, given an specific event (e.g. touchstart), prevent the event listeners in the framework ...
1
vote
0answers
127 views
Python and PyWebkitGtk Detecting Javascript Event in webkit.WebView
I am trying to detect when a link is pressed within a webkit.WebView in Python. Is there a simplistic way to detect when Javascript events occur with PyWebkitGtk?
0
votes
0answers
13 views
which events are exist on element in jquery?
In jquery, I want to know know that which events are exist on particular element, for that I used this function $(selector).data('events') but it did not work,
Here is my code
<!doctype>
...
0
votes
0answers
49 views
Backbone Relational: capture change events from has_many collection
I'm using backbone relational to define a has_many relation in my BackBone app.
At the moment we're having a hard time trying to capture the change event from the has_many collection.
When I change ...
0
votes
0answers
60 views
How to make an event handler for jPlayer when a song loads?
I'm using the jplayer.min.js and I would like to add an event handler in my php file when a new song loads. I need this because I am using SoundCloud files and they require a link to the SoundCloud ...
0
votes
0answers
560 views
jQuery UI Tooltip - Manual close after event.stopImmediatePropagation, no effect?
http://jsfiddle.net/r2nzc/5/
var $textInput = $('#textInput');
var items = '.ui-autocomplete li.ui-menu-item a';
$textInput.autocomplete({
source: ['a', 'b', 'c'],
minLength: 0,
open: ...
0
votes
0answers
163 views
Convert VBScript event to JavaScript
This relates to a previously asked question very much.
I have the following VBScript that I need to convert to JavaScript. It is for an ActiveX object that interfaces with an HID. When the user ...
0
votes
0answers
121 views
All browser support script for onerror handler for image please
i have write a script for on error event of an image tag its working with chrome and IE and some older version of Firefox but not working with latest version of Firefox
function ...
0
votes
0answers
75 views
baffling DOM/Javascript event bubbling and DOM layout issue
I am trying to achieve a very simple effect in my menu bar.
I have blocks showing links to pages in my site with an icon, like
|--------------|
| |
| |
| (BLOG ICON) | ...
0
votes
0answers
234 views
Prettyphoto issues with IE8 and IE7
I have a page that automatically loads a prettyPhoto lightbox with a youtube video upon loading with an event handler. You can close the window and click to reopen the video. In all other browsers you ...
0
votes
0answers
1k views
Javascript Drag and Drop Event Handling Not Working As Expected
I am trying to use drag and drop events for uploading files:
dropbox.addEventListener("dragenter", dragEnter, false);
dropbox.addEventListener("dragexit", dragExit, false);
...