Tag : Callback

Title User Language Tags Description Date
Returning results with ajax digitalink jQuery February 21, 2011
preg_replace_callback with local variable access freezy PHP

To access a local variable within a callback, use currying (delayed argument binding).\r\nThe magic lies in this curry found here: http://www.sitepoint.com/forums/showthread.php?threadid=336758

August 27, 2010
Ruby Metaprogramming - Subclassable Callback Module viatropos Ruby August 15, 2010
Ruby Metaprogramming - Subclass a Method with Before/After Callbacks and alias_method viatropos Ruby August 15, 2010
Add google analytics tag to all links in email body theroamingcoder PHP

This code can be used to add Google Analytics tracking tags to all links back to your site in email messages that you send. You can then track the referrals back to your site from those emails. See http://www.google.com/support/analytics/bin/answer.py?answer=55578&hl=en for a tool to help you build the tags.

September 22, 2009
New Object Defaults martinB Maxscript

Small example how to set up a callback to change the default parameters used for creating new objects (in this example, any new cylinder will have one height segment and 16 sides)

February 6, 2009
JSON-P with jQuery 1man JavaScript

Using JSON-P with jQuery. Note the callback.

December 26, 2008
Callback Delegate example Raymond Wong ActionScript Callback Delegate example October 31, 2008
Callback Pattern Javier Burroni python

when adding callbacks, the code may not be very focused on the actual problem. A solution si to write a generic base class to deal with the callbacks issues, and then decorate the methods with the event for wich you want a binding.

July 3, 2007
AJAX callback function after Request David Wei JavaScript The function to call to get the Response from the Request March 16, 2006
Call a Callback when a Tkinter.Text is Modified Simon Forman python

A Tkinter.Text can notice when its contents are changed. This recipe shows how to make use of the virtual event this generates to call your own callback.

December 13, 2005
ICallbackEventHandler vs AJAX.NET zhou chao ASP.NET ICallbackEventHandler vs AJAX.NET November 20, 2005
EnableSortingAndPagingCallbacks in ASP.NET GridView Control zhou chao ASP.NET EnableSortingAndPagingCallbacks in ASP.NET GridView Control November 20, 2005
Avoiding lambda in writing callback functions Danny Yoo python

A utility class that makes writing callbacks more pleasant than using lambda. Especially using with Tkinter.

August 16, 2001
Implementing C function callbacks using Python pink chry python

Lets say you have a function in C or C++ that takes a function callback as an argument. You want to call this function by passing a Python function as the callback. This recipe shows the basics by calling the standard C library function qsort, and passing a python function as the compare function.

June 14, 2001