[jQuery] adding a callback function?

2008-05-02 Thread Chris Hall
Hello everyone. I am trying to modify the SpinButton code (from here http://www.softwareunity.com/sandbox/jqueryspinbtn/) to include a callback when the value is changed. I'm very new to callback functions and have tried searching the web for how to add them but so far have had no luck. My

[jQuery] Adding a callback function to a extended jquery function

2008-02-05 Thread Dan Eastwell
Hello, I have the following function: // Show and fade out a feedback message $.fn.addFeedback = function(feedbackMessage){ var offset = $(this).offset(); var feedbackDiv = div class='feedback' id='feedbackElement' style='display:none;position:absolute;left: + offset.left +

[jQuery] Adding a Callback function.

2007-05-16 Thread Christopher Jordan
Hi folks, I've got a need for one of my functions to accept a callback function as a parameter (if that's even the right way to do it). Anyway, I'm having trouble and I'm hoping that someone here could help me. This particular situation deals with a parent page, and a child page which is