title: Passing facebook info to HTML hidden input field
body: <p>I have the below code in my .aspx page.</p>
  
  <pre><code>&lt;input type="hidden" id="fbinfo" name="fbinfo" value="" runat="server" /&gt;
  &lt;script src="Scripts/jquery.min.js"&gt;&lt;/script&gt;
  
  &lt;div id="fb-root"&gt;&lt;/div&gt;
  &lt;script src="Scripts/all.js"&gt;&lt;/script&gt;   
  
  &lt;script&gt;
  FB.init({ 
      appId: 'thisIsMyAppId', 
      status: true, 
      cookie: true, 
      xfbml: true 
  });
  
  FB.getLoginStatus(handleSessionResponse); 
  
  function handleSessionResponse(response) {
      if (!response.session) {
          clearDisplay();
          return;
      } 
  
      FB.api({
          method: 'fql.query',
          query: 'SELECT uid, first_name, last_name, FROM user WHERE uid=' + FB.getSession().uid
          },
  
          function(response) { 
              var user = response[0]; 
              var userInfo = document.getElementById('fbinfo'); 
              $('#fbinfo').html('user id is:' + user.uid);
          }
      );
  }
  </code></pre>
  
  <p></p>
  
  <p>When I run it, VS IDE throws back an error message saying</p>
  
  <blockquote>
    <p>htmlfile: Unexpected call to method or property access.</p>
  </blockquote>
  
  <p>And this highlighted this part of the code inside the <em>jquery.min.js</em></p>
  
  <pre><code>{if(this.nodeType==1){this.appendChild(E)}
  </code></pre>
  
  <p>Question is how to pass a value from the fql queried to a HTML input hidden type control or asp:control (like Label or Hidden field) ?</p>