jQuery.mobile.path.getLocation()Returns: String
Description: Utility method for safely retrieving the current location.
-
jQuery.mobile.path.getLocation()
- This method does not accept any arguments.
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.