title: How to pass an asp.net control to a jQuery ajax call?
body: <p>I have the following jQuery event that gets fired every time an anchor is clicked.  How can I pass a asp.net control (lets say a panel called "pnl_info") as one of the parameters, in addition to the "target" parameter i'm already passing?</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(document).ready(function() {
          $("a").click(function(event) {
              $.ajax({
                  type: "POST",
                  url: "Default.aspx/Click",
                  data: "{target:'" + event.target + "'}",
                  contentType: "application/json; charset=utf-8",
                  dataType: "json",
                  error: function(xhr, ajaxOptions, thrownError) {
                  alert(xhr.responseText);
                      $("#myContent").html(xhr.statusText);
  
                      //alert(xhr.responseText);
                  },
                  success: function(msg) {
                      alert(msg.d);
                  }
              });
              return false;
          })
      })
  &lt;/script&gt;
  </code></pre>