Question: when i click on submit button it should call post request on server with input data and it returns json object.
here i struck where to write success ? and how to receive response object ?  

and is it right way to call post request on server?
please a

my js file:

```
(function($){
 var Login = Backbone.Model.extend({
    url:'/login'
  });

 var ListView = Backbone.View.extend({
    el: $('body'),
    events: {
      'click input#btn_login': 'submit'
    },
    initialize: function(){
      _.bindAll(this, 'submit'); // remember: every function that uses 'this' as the current object should be in here

      },

    submit:function(e){
    e.preventDefault();
    var login=new Login();

    login.save({accesskey:$('#accesskey'),secretekey:$('#secretekey')});
    },    
  });

  var listView = new ListView();
})(jQuery);

```

html file:

```
<form class="form-signin" id="form_signin">
 <table>
  <tr>                
   <td><label>Accesskey:</label>
    <input type="text" name='accesskey' id="accesskey" class="form-control" placeholder="A
    ccess Key" required autofocus>
      </td>
       </tr>
        <tr>
         <td>
        SecretKey:<input type="text" name='secretekey' id="secretekey" class="form-control" placeholder="Secret key" required autofocus>
         </td>
        </tr>
       <tr>
         <td>
           <input class="btn" id="btn_login" type=submit name=submit>
          </td>
       </tr>

    </table>
</form>

```

thanks in advance.

Answer: 
My guess: Your `didSelect` method gets called but your SecondViewController is `nil`. Give your new controller an identifier in your storyboard and do 

```
SecondViewController *controller = [self.storyboard instantiateViewControllerWithIdentifier:@"Second"];

```

Otherwise your controller is just empty, because it's not connected to the storyboard. In fact, only the storyboard knows that your custom class exists, not the other way round.

If you don't use storyboard, init your SecondViewController with `initWithNibName:bundle:` instead... and put that new init method in your old one.. so `init` calls `initWithNibName:bundle:` internally. This way no one has to know the name of your xib file and the code is much shorter.
if use want to transit on the touch event of any `uicontrols` then you need to add `selector` methods and add code for transition there or you can transit from `uitableView` `delegate` method `didSelectRowAtIndexPath`: