title: How do I figure out what options to use with jQuery's support function?
body: <p>I was working with the following javascript code(in order to put a calendar-picker in an SSRS page), but I realized it didn't even work because it's deprecated and not supported.  They said that the <code>.browser.webkit</code> function should not be used..</p>
  
  <pre><code>$(document).ready(
      function () { 
          if ($.browser.webkit) { 
              $($(":hidden[id*='DatePickers']").val().split(","))
                  .each(function (i, item) {
                  var h = $("table[id*='ParametersGrid'] span")
                      .filter(function (i) {
                          var v = "[" + $(this).text() + 
                                  "]"; 
                          return (v != null &amp;&amp; v.indexOf(item) &gt;= 0); })
                              .parent("td").next("td").find("input").datepicker(
                                  { 
                                      showOn: "button", 
                                      buttonImage: '/Reserved.ReportViewerWebControl.axd?OpType=Resource&amp;Name=Microsoft.Reporting.WebForms.calendar.gif', 
                                      buttonImageOnly: true, 
                                      dateFormat: 'dd/mm/yy', 
                                      changeMonth: true, 
                                      changeYear: true 
                                      }); }); } });
  </code></pre>
  
  <p>So on <a href="http://api.jquery.com/jQuery.support/" rel="nofollow">here</a> they say to use jQuery.support, I have no idea how to do this.
  Would I put something like this:</p>
  
  <pre><code>$.browser.support(ajax)
  </code></pre>