title: Run a PHP function on document ready?
body: <p>Is there anyway for me to run a certain php function when the document loads completely? I am trying to run a function which will mark a notification as read only when the document has been loaded completely. What can I do?</p>