What event cur_frm.cscript have?

Hello iam using
cur_frm.cscript.onload_post_render
it used to when the a record is loaded for the first time render .
i created HTML element on the doc type ;
and add data that i need using jQuery

when i click Save button all data i get is gone even if i used
cur_frm.cscript.refresh

my qustion
i there a function where it used when ready
like
cur_frm.cscript.ready_post_render or refresh_post_render?
that will set the record every time when document is ready

Any one ?
is there a Post_renderer command ?
or what Save button Action is ?can i remove it and create custom action ?

Hard to give solutions without seeing the full code.

Also use:

frappe.ui.form.on("My DocType", "referesh", function(frm) { });