Topic: i need help regading to callback function

hi ,
            Any buddy suggest me that how will i write a callback function in java script .
i have a function which is sending data to server side . I want to implement a callback function
for it show that data has been send to server side function.



plz help me
i am waiting for ur reply
thanx

Re: i need help regading to callback function

do you just need to call another function? if so, you need to register the function:

$myObj = new ClassNameHere();

$xajax->registerFunction(array(&$myObj, "yourFunction"));

and then call it in the other function:

$objResponse->loadcommands($this->yourFunction($get));

is this what you need?