i thought there was something like extending it with jquery... thanks anyway
On Sep 6, 7:52 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > you need () to actually execute your callback function. > > function myFunction(param1, callback) { > alert(param1); > callback(); > > } > > how does this relate to jQuery? > > On Sep 6, 10:28 am, Equand <[EMAIL PROTECTED]> wrote: > > > hi guys, > > i think this is a simple question > > how do i create a call back function > > e.g. i have a funciton > > dgo (href) > > { > > alert(href);} > > > how to create a callback function? > > this doesn't work > > dgo(href, s) > > { > > alert(href); > > s}