title: How to get text box value in ember.js
body: <p>i have started to work on ember.js just day before.
  i don't know how to get text box value while submitting. i have tried like this</p>
  
  <p>this is html</p>
  
  <pre><code>    &lt;script type="text/x-handlebars" data-template-name="index"&gt;
      &lt;div &gt;
       &lt;p&gt;{{view Ember.TextField valueBinding="fname"}}&lt;/p&gt;
      &lt;/div&gt;
      &lt;div&gt;
      &lt;p&gt;{{view Ember.TextField valueBinding="lname"}}&lt;/p&gt;
      &lt;/div&gt;
      &lt;button {{action save}}&gt;submit&lt;/button&gt;
      &lt;/script&gt;
  </code></pre>
  
  <p>this is my ember.js file</p>
  
  <pre><code>          App = Ember.Application.create();
            App.IndexController = Ember.ObjectController.extend({
  
             save:function()
             {
                var fname=this.get('fname');
                var lname=this.get('lname');
                alert(fname+','+lname);
  
  
             }
            });
  </code></pre>
  
  <p>whenever i am clicking on submit button, i am getting undefined in alert.so how to get value? i hope anyone will help me for to continue in ember.js </p>