I have MVC3 asp.net project.
I create controller function with some parameters,
the question is how can I pass the value from Textbox to Jqgrid?
I want to something like:
jQuery("#list1").jqGrid({
url: '@url.content("~/")MyController/MyFunction?Parameter1=valueFromTextBox'
...
I tried to insert with
$("#TextBox").attr("value")
but it doesn’t work
any have idea?
thanks
vantian
You should better use
postDataparameter having function (method):See here for details.