All Questions
256
questions
4
votes
3
answers
1k
views
Java: Filtering out duplicate events
I was wondering if the following is common for "regular" Java applications when receiving callback/events. Those callbacks may be triggered by user input but also by other means so it is not only ...
0
votes
1
answer
226
views
How do I know how to design my callback function for my event listener in YUI?
I'm just starting to use YUI. I'm trying to understand how to subscribe elements to different events. It seems pretty simple. Here's some code that I've been tweaking from Yahoo's examples:
// "...
0
votes
3
answers
3k
views
JavaScript Function callback and events
I was trying to make a javascript gallery script by my own.
When i have done with it i was pretty happy, until i noticed, that it doesn't work in IE6.
In FireFox everything looks fine. So i started ...
0
votes
1
answer
465
views
Time-passage callback when rendering recorded and live/streaming audio/video
Guys...! I'm a complete newbie to this area of audio/video formats/codecs, their players, their exposed APIs, etc. Would greatly appreciate your patience as well as advice on this question of mine.
...
1
vote
1
answer
1k
views
WCF - Callback and/or Event
How can I receive a message from one client and Callback to all Clients connected to the Host to send that message?
1
vote
2
answers
387
views
What kind of DLL should I use (or .lib, or class)
So I am new to .net and c++ and am in need of a "library" of functions that can be called and also events that are raised in the main application that is using the library.
I have a C++ library (.lib)...
6
votes
3
answers
8k
views
Implementing a callback in XML-RPC or SOAP
I am trying to get an understanding of how I can use SOAP or XML-RPC to create a remote, open API for my product.
Problem is, part of my API will require me to be able to get events pushed from my ...
1
vote
5
answers
10k
views
Can someone explain callback/event firing
In a previous SO question it was recommended to me to use callback/event firing instead of polling. Can someone explain this in a little more detail, perhaps with references to online tutorials that ...
0
votes
1
answer
275
views
Set a different id for every new element in the callback off the load event
edited my original question
The problem is the same for setting the id off a newly added element
or if I use the argument noteid from the function.
The result is that every element get's the same id ...
1
vote
1
answer
1k
views
slow hide event canceled by remove event in jquery
I have a question about how too keep one event perform an action without being canceled
by the next line off code
In this case, I don't want the remove action to cancel the hidd behavior
Maybe, this ...
3
votes
3
answers
5k
views
Greasemonkey + jQuery: using GM_setValue() within an event callback
I'm trying to set data in long-term storage in a GreaseMonkey script, except that GM_setValue() seems to fail silently:
$("a#linkid").click(function()
{
GM_setValue("foo", 123); // doesn't work, ...
1
vote
2
answers
98
views
Can/should I use a mocking framework to dynamically add events to a class?
Consider the following interface:
public interface IMyCallback
{
void SomeEvent(int someArg);
}
which is the contract for a WCF callback that will be receiving "events" from a WCF service. My ...
0
votes
1
answer
122
views
Tricky jQuery operation, not sure if I am using 'this' property either
Using jQuery, I am binding some image tags with a click event like this:
$('.imageClass > a > img').bind('click', onImageClick);
this.onImageClick = function() {
$.post("/blah/123", { test ...
26
votes
8
answers
25k
views
Python: Callbacks, Delegates, ... ? What is common?
Just want to know what's the common way to react on events in python. There are several ways in other languages like callback functions, delegates, listener-structures and so on.
Is there a common ...
2
votes
2
answers
4k
views
Find callback functions added with jQuery on DOM elements
I am currently testing this in Mozilla FireFox 3.0.5 using FireBug 1.3.0 with jQuery 1.2.6.
First try
document.getElementById("x").onfocus = function ()
{
var helloWorld = "Hello World";
};
...