js loaction reload code example Example: refresh javascript location.reload(); Works like refresh button.