Home  >  Article  >  Web Front-end  >  Introduction to window.location.search method in javascript_javascript skills

Introduction to window.location.search method in javascript_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:23:461350browse

The window.location.search method is to intercept the string after "?" in the current URL.

For example: index.php?act=doctor, the intercepted string is act=doctor

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn