How to change the values in multiple document at a time?

I have list of document, i need to change the childtable values in more than one document at a time but i got error like
Error: Document has been modified after you have opened it

Is there any client script apply it then remove it and check it. otherwise refactor it.

can you please give the code for remove that, or any other way for this
actually all actions are done, but i got only error dialog

There is no code for it. If you have added any code, you need to update it. In which doctype are you having that issue?

i use the try catch in frontend like

try{
    //call to the backend function to update ...
    // after the all word done it comes here 
    // backend throw error so it will go catch after all works done
}
catch(error){
  if (error.exception === "frappe.exceptions.TimestampMismatchError"){
    //throw error msg with our words
}
}

this is the one of the solution, but not correct way that why i am moving to edit the data using

frappe.db.set_value()

this one is working fine without throwing error
reference → Database API

i edit the child table of the document with frappe.db.set_value() if you want more about code pm