Call "Save Button" from Ajax Button

Hello
I need, from a Ajax Button, save some fields, and then save and close a form.
This form is called from a another form, in a master/detail block.
I try some code, and i can save and close, but the detail in the origin form not refresh…

How i can, after my source, in the button Ajax, call or invoke the “Save button”?
Thanks!!!

Hi,
try this when you save data

sc_redir(‘form’,"","_parent");

this should refresh the previous form

regards

mmmm… not work
I need open the form in a new window…
And when make the redir, open the form in the window (and not refresh the original tab).
Thanks!

Finally, i solve with code in ValidateSucess… and actue over the standar save button.
Thank!