Normally you "edit" from the form action bar and "save" or "cancel" from there.
Normally you don't need to work at a low level writing in JavaScript as Lianja does it all for you.
save() on a section when hand coding javascript was not exposed. It is in the latest build as is cancel().
Try the example i provided to you. If it works there then study the code I provided.
Bookmarks