title: Retrieve value by jQuery from href parameter?
body: <p>I am trying to display dialog form with jquery. However, I want to be able to pass a value into this form from href parameter that opens this form.</p>
  
  <p>My jquery:</p>
  
  <pre><code>// Set SerialNumber dialog form
  $("#setsn-form").dialog({
      autoOpen: false,
      width: 350,
      modal: true
  });
  
  $(".set-serialnumber")
  .button()
  .click(function () {
  $("#setsn-form").a
      $("#sethor-form").dialog("open");
  });
  </code></pre>
  
  <p>And href link is this:</p>
  
  <pre><code>&lt;a href='#?SerialNumber=123456789' title='Set Serial Number' class='set-serialnumber'&gt;
  </code></pre>
  
  <p>How can get <code>SerialNumber=123456789</code> in that dialog form?</p>