Shivanand Arur

Shivanand Arur

  • NA
  • 3.6k
  • 1.4m

POST Request in JQuery

Aug 6 2013 3:30 AM
Hey people, just had a small doubt regarding the ajax POST to a controller.... Basically my end result would be a list of data in grouped format, which might look something like this...

Time : 09:45 AM Saturday
Data1
Data2
Data3

Time : 11:15 AM Saturday
Data4
Data5
Data6

So basically I want a group header above each sorted list of data.... The above example shows that I want a Time Header on top of each sorted list... Similary there will be Room No, Alaphabets, etc.... I am planning to pass/post a key value something like a "Time" or "Room" or "Alpha"... This will be posted to the Controller, the Controller will take an action on the passed value.. I will fire a LINQ Query and show the result on the View...

So is it possible to get/fetch the entire sorted cum grouped list of data directly in my JQuery function and then display it on the view? I don't know whether my above mentioned information would make sense to you or not... But please let me know. Thanks

Answers (1)