---
title: "Server side code request on button tab in Sencha Touch."  
description: "Server side code request on button tab in Sencha Touch."  
author: "Anonymous User"  
published: 2013-06-01  
updated: 2013-08-14  
canonical: https://www.mindstick.com/forum/963/server-side-code-request-on-button-tab-in-sencha-touch  
category: "sencha touch"  
tags: ["sencha touch"]  
reading_time: 1 minute  

---

# Server side code request on button tab in Sencha Touch.

Hi [Expert](https://www.mindstick.com/articles/13120/an-expert-financial-advice-will-improve-your-finances)!\
I want to call [server side](https://www.mindstick.com/forum/318/how-to-call-javascript-fuction-in-server-side) line of [code](https://yourviews.mindstick.com/view/85458/alan-turing-the-mastermind-behind-cracking-the-enigma-code-during-world-war-ii) on [button](https://www.mindstick.com/articles/63/how-to-add-button-in-datagridview-in-csharp-dot-net) [tap](https://answers.mindstick.com/qa/106164/tips-for-winning-in-mlb-tap-sports-baseball-2022) ([click](https://www.mindstick.com/articles/12423/social-login-magento-2-one-click-to-register-social)) in [Sencha Touch](https://www.mindstick.com/interview/23004/define-class-system-of-sencha-touch) 2.2, how to get it?\
Thanks in advance. Any help appreciated.

## Replies

### Reply by Anonymous User

You simply use Ajax Request to call the [server](https://www.mindstick.com/articles/43769/what-is-serverless-architecture-is-it-worth-switching-over) side code with **MVC Web API**.

```
Ext.Ajax.request({    dataType: 'JSONP',    url: '/api/',    params: values,    method: 'POST',success: function(response){ },    failure : function(response) {     }});
```

**\**Mark as answered if your problem will resolved.


---

Original Source: https://www.mindstick.com/forum/963/server-side-code-request-on-button-tab-in-sencha-touch

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
