I am working on a code snipet where I have handlers like this:
_ratingHandler = Function.createDelegate(this, this.onRatingChange);
_endClientCallBackHandler = Function.createDelegate(this, this.onEndClientCallBack);
and I am using them like this:
function attachEvent()
{
_eventOk = false;
_eventCallBackOk = false;
rating1Extender.add_Rated(_ratingHandler);
rating1Extender.add_EndClientCallback(_endClientCallBackHandler);
}
Now I want to conver this code to Jquery. what is the alternative of createDelegate in jquery and how I will modify my attevent function ?
Regards, Asif Hameed