jQuery.mobile.path.getLocation()

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.

© The jQuery Foundation and other contributors
Licensed under the MIT License.
https://api.jquerymobile.com/jQuery.mobile.path.getLocation

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部