how to get hash code of jquery file code example Example: javascript change url hash window.location.hash = '#hash_value';