Hi Squall,
Have you got a page online where we can check this out?
Anyway the way I would do it is:
// Add CeraBox the #preview
$('preview').cerabox({
ajax: {
url:'component/artevent/?task=preview&format=raw',
type: 'post',
data: 'email='
},
group: false,
width: 480,
height: 390,
displayTitle: false,
// onclick
function ceraboxInit(){
var box = $('preview').retrieve('cerabox');
box.options.ajax.data = 'email='+$('email').getValue();
box.fireEvent('click');
}
I didn't test this but I hope it gets you in the right direction. Good luck!
Cheers