-javascript-
location.href -> http://localhost:8088/login/login.do?key=value
location.protocol -> http:
location.host -> localhost:8088
location.pathname -> /login/login.do
location.search -> ?key=value
location.host -> localhost:8088
location.pathname -> /login/login.do
location.search -> ?key=value
-jquery-
jQuery(location).attr('href') -> http://localhost:8088/login/login.do?key=value
jQuery(location).attr('protocol') -> http:
jQuery(location).attr('host') -> localhost:8088
jQuery(location).attr('pathname') -> /login/login.do
jQuery(location).attr('search')-> ?key=value
jQuery(location).attr('protocol') -> http:
jQuery(location).attr('host') -> localhost:8088
jQuery(location).attr('pathname') -> /login/login.do
jQuery(location).attr('search')-> ?key=value