If you need to wait for save() to return, you can easily do this:



myPerson.save({
success: function( records, operation ) {
// response of save is returned...do other stuff
}...