views:

4283

answers:

2

I'm using RadAjaxPanel by telerik and it has ClientEvents-OnResponseEnd client-side event. So I've written JavaScript function:

function OnResponseEnd(ajaxPanel, eventArgs) {
        // call jQuery here
    };

and my question is how to call jQuery function inside? I'd like to manipulate some html elements with .slide(..) function.

+5  A: 

jQuery is javascript - it's a js library. Just call the function, e.g. $(this).slide(); in the function.

Antony Carthy
+2  A: 

You can call the jQuery functions inside the function you showed above. Of course, you have to import the jQuery library before you can do that.

Example:

function OnResponseEnd(ajaxPanel, eventArgs) {
    $('div').slide(...);
};
Peter Stuifzand