1

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.

0

2 Answers 2

12

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

Sign up to request clarification or add additional context in comments.

Comments

4

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(...);
};

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.