2

How do I retrieve the text box value as a variable?

For example:

<input type="text" id="offset"/>

@{
   var offset = Request.Form["offset"]
}
Jeff Straw
  • 21
  • 2
  • 1
    Please provide a bit more context. Is your input in a form and you are posting and then retrieving the value? – Jerode Jun 24 '15 at 14:43

0 Answers0