How to trigger an update function when page reloaded
How to trigger an update function when page reloaded
isicong@163.com
Posts: 3Questions: 2Answers: 0
Hi in the server side, I would like to execute this:
#
<?php
editor
->on ("(syntax for page reloading)", function($editor, $id, $values) {
// my own function to update a specific field
}
#
My goal is to update a particular field every time my database is updated.
This field has nothing to do with any data submitted in the form.
It counts the number of files I have in a folder.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Why would you not call that function from your sever side ajax handler function for your paging?
Hi bindrid,
Could you be more specific?
I am having trouble activate the function when the page reload is triggered.