Update a post’s info when clicking on a javascript button

Update a post’s info when clicking on a javascript button

tech