[jQuery] window.location get a var and its value

[jQuery] window.location get a var and its value


Hi,
I have at a certain moment this in my address bar: .....search.php?
search_done=1.........
I need to extract the "search_done" because I want to pass this to a
function which should check if search_done equals 1 or not.
Anbody with a hint for me?
Thanks