[jQuery] ext dialog and form

[jQuery] ext dialog and form


Hey guys,
I'm trying to use extjs to replace all the popup windows in my system
(currently using thickbox) to change pref, add members etc'.
i managed to create the window, managed to create the forum (well,
srota), but i can't seem to "submit" the form and hide the dialog.
I've created the dialog, and set the submit button to run the function
submitDLG:
dialog.addButton('Submit', sebmitDLG, dialog);
now, in submitDLG i can't quite get how I proccess the forum, i used
to use the fastSerialize function, but that doesn't seems to work with
extjs.
and plus, i can't figure out how to close the dialog from the
submitDLG function, tried to use dialog.hide() (when dialog is passed
from the dialog.addButton('Submit', sebmitDLG,
dialog); call), it just hides my submit button...
Thanks.