jQuery.mobile.path.getLocation()


jQuery.mobile.path.getLocation()Returns: String

Description: Utility method for safely retrieving the current location.

The browser's location.href may contain the username/password information. getLocation() always returns location.href stripped of the username/password information if present, ensuring that your code is not vulnerable to XSS attacks.