like function , ok
use ajax and javascript to handle auto refresh page