title: jQuery function - pass params from the URL into the function
body: <p>I have following function:</p>
  
  <p>It bassicly takes the value form clicked <code>href</code> and than load file into the <code>#loader div</code> with the same name.</p>
  
  <pre><code>$('.loader').click( function() {
  
  
              // Check clicked element href
              var ActiveTab = $(this).attr("href");
  
              //Content
              var TrimedClickedTab = $(this).attr("href").substring(1);
              $('#loaderDiv').load( TrimedClickedTab +'.html', function() {
                      // Show New Loaded Div
              }); 
              return false;
      }); 
  </code></pre>
  
  <p><strong>How can I pass param into the function form the URL and than run it with this param?<br />
  I want the URL to set the <code>var ActiveTab = "#form"</code></strong></p>
  
  <p>I'm looking to run this on the load, so it would load straight away given file. ( <code>var #ActiveTab</code>)</p>