Using Javascript Control just deosnt work!

I just started using the RTF field property “Using Javascript Control…”

But when I save the document it just doesnt save it.

I tried using

_getEditAppletData();

document.forms[0].submit();

before submitting but it just doesnt save… pls help