Re:URI.js is a facility for working with URLs
by bretthoerner on Wednesday December 28, 2011 @04:51AM
(#3399238)
I actually groaned when I figured out what "search" was.
[ Parent
| on HN ]
Re:URI.js is a facility for working with URLs
by rodneyrehm on Wednesday December 28, 2011 @06:16AM
(#3399408)
"search" is the term for "query string" used throughout javascript. I prefer "query" (as in "query string"). I use query(), but made search() available to those, who are used to window.location.search
for some more groaning, have a look at http://tantek.com/2011/238/b1/many-ways-slice-url-name-piece... ;)
Re:URI.js is a facility for working with URLs
by bretthoerner on Wednesday December 28, 2011 @05:11PM
(#3401624)
> "search" is the term for "query string" used throughout javascript.
Huh? Where?
Re:URI.js is a facility for working with URLs
by rodneyrehm on Thursday December 29, 2011 @04:57AM
(#3403128)
window.location.search - https://developer.mozilla.org/en/DOM/window.location#Propert...
and decomposed IDL - http://www.whatwg.org/specs/web-apps/current-work/multipage/...