title: How to read a column type SPUser, DateTime, Currency with EcmaScript?
body: <p>I have a list in SharePoint 2010 with some columns. All are default types. So I have<br>
  "Single line of text"<br>
  "Multiple line of text"<br>
  "Date and Time"<br>
  "Choice"<br>
  "Number"<br>
  "Currency"<br>
  "Person or Group"</p>
  
  <p>My aim is to have a custom ribbon tab or group where I can perform some action on this list. As a starting point I created an Empty Element in my Visual Studio solution and put inside Elements.xml my buttons. This works so far. I also figured out how to do a postback to react on pressed button. This postback refers to a JavaScript file. </p>
  
  <p>Before performing some action I tried first to read the given contents and return them using <code>alert('first field: ' + field1)</code>. In first called function I have  </p>
  
  <pre><code>function calledPostbackFunction(string button) {  
      var context = SP.ClientContext.get_current();  
      this.site = context.get_site();  
      this.web = context.get_web();  
      context.load(this.site);  
      context.load(this.web);  
      context.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceded(button), Function.createDelegate(this, this.onQueryFailed));
  </code></pre>
  
  <p>How can I get the content from listed column types? I remember that I was able to read single text line and choice, but the rest crashed. So I guess I have to convert it any way. But how? IntelliSense doesn't helps a lot.</p>
  
  <p>SUBQUESTION: I would skip using EcmaScript if you can tell me how to doPostBack to a .cs file where I can use Client Object Model. I found something but didn't work/ understand.</p>
  
  <p>Yes, I though this will be easy, but it was not. At least because I only know C# a bit, no EcmaScript.</p>
  
  <p>Thanks.</p>