0

I need to execute a javascript into a colorbox modal window.

I've heard about placing an onComplete callback but i've no idea on how to write it...i'm totally noobie to jquery/javascript.

Can anyone explain me step by step ?

Thanks

1 Answer 1

1

Example:

$('a#example').colorbox({onComplete:function(){
  // put your code here.
}});
Sign up to request clarification or add additional context in comments.

1 Comment

Thank you Jack for your answer.

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.