js trigger if page reload code example Example: javascript refresh page automatically <meta http-equiv="refresh" content="30"/>