back button javascript code example Example 1: js go back history.back() Example 2: javascript back button Move back button using javascript