location用于获取或设置窗体的URL,并且可以用于解析URL。

语法:

location.[属性|方法]

location对象属性图示:

Location对象

location 对象属性:

Location对象

location 对象方法:

Location对象

相关文章: