onLoad Reset Form

Hi All,
I am looking for a one liner code:

I have a php page name ABC.php, on this page I have a form XYZ.
upon submitting a form, page will load itself so I want to reset the form upon load.

Is that something like this??? I am trying for following codes:

function Reset()
{ document.xyz.reset }

<Body onload=“Reset()”>

Thanks.

document.formname.reset();
should work.