Hacker Newsnew | comments | show | ask | jobs | submit login

"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... ;)




> "search" is the term for "query string" used throughout javascript.

Huh? Where?

-----


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/...

-----




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: