Hi all,

I want to display a message in the dialog box on submit of a form.
I use the following code...

<form id="xxx" name="xxx" onsubmit="test('xxx') />
</form>

and inside the function it is

Dialog.info($('xxx').innerHTML,{className:"alphacube", width:375, height:75, showProgress:false,closable:false,closelabel:"Cancel"});

I wont get the correct output, ie, some css is broken. But this is only when I use the function in submit. If I call this in onclick it works correctly.

Can any one help to solve this?

Thanks in advance!!!!!!!
vidya