Home > Article > Web Front-end > Introduction to window.location.search method in javascript_javascript skills
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