title: How do you get querystring using YUI 2?
body: <p>I need to get the a parameter passed via a querystring. I need to get the value of the parameter and then use it in some javascript.</p>
  
  <p>In my specific example, I am using the "tabview" object and would like to set the "selected" tab by getting it from the querystring. The querystring would be something like this</p>
  
  <p><a href="http://www.myserver.com/pagex.html?tab=3" rel="nofollow noreferrer">http://www.myserver.com/pagex.html?tab=3</a></p>
  
  <p>So, I want to get the "tab" parameter and extract the value to preset the tab on form i am displaying..</p>
  
  <p>Thanks..</p>