Considering that you've tagged your question with asp.net-mvc-3, the long answer is that it will run in the browser, not on the server (the one running ASP.NET). There is no way to immediately get content from the browser to the server without sending a request. I guess you might want to make an ajax call to the new controller action from the page, but that depends on when the text changes and what you want to do with it.
Short answer:
Considering that you've tagged your question with asp.net-mvc-3, the long answer is that it will run in the browser, not on the server (the one running ASP.NET). There is no way to immediately get content from the browser to the server without sending a request. I guess you might want to make an ajax call to the new controller action from the page, but that depends on when the text changes and what you want to do with it.
Suppose you have a div declared as:
You can get its value in the following ways:
How to contact