title: ASP.NET AJAX $find method failes when used in jQuery's $(document).ready() method
body: <p>I'm trying to find a tree using ASP.NET AJAX's client-side framework. I also use jQuery for doing any JavaScript operation after the DOM is ready. my code is like:</p>
  
  <pre><code>$(function(){
      var tree = $find('treeId');
  });
  </code></pre>
  
  <p>Here, tree simply is null. But when I try to find the tree on click of one of elements, it's not null:</p>
  
  <pre><code>$(function(){
      $('saveButton').click(function(){
          var tree = $find('treeId');
      }):
  });
  </code></pre>