How to access child table in client side

Hi All! I am stuck with my codes and needed your help on this. How do I access record in a child table? In my “Purchase Receipt” Doctype, I have a button that make changes on its “Purchase Receipt Item” details. But somehow the changes is not showing on the client side. The changes is showing on the server side. How can I go about this? I made the script below in my client side thinking for a refresh but it does not include refreshing the child table. Any help is greatly appreciated. Thanks!

frappe.ui.form.on('Purchase Receipt', 'set_qty_to_zero', function (frm, cdt, cdn) {{
        method: "gaisano.button_events.set_qty_to_zero",
        args: {
        callback: function (r) {

try cur_frm.reload_doc();

Hi @Ben_Cornwell_Mott! I tried using cur_frm.reload_doc() instead of frm.refresh() and it works! Thanks a lot!