Is it possible to save a record, but stay on the form?

Is it possible to save a record, but stay on the form?

I have a form that I would like to (using script) save the current record, but stay on the form with the record still displayed?

The reason is that I need the record ID for the current record so that I can do some further work involving child records (before you ask, using subforms is not suitable for what I want to do).