I use
onClosed:function(){ window.location.reload(); }
option to reload the page after the colorbox is closed but I don't want to always perform the reload but only when a user clicks one HTML button inside the colorbox. Colorbox is closed if one clicks outside the window somewhere or the close button... I don't want to close colorbox in these cases, instead I want to perform the reload when one HTML button is clicked. So the button should close the colorbox and rise the callback at the same time.
Any ideas?