Guest User

Untitled

a guest
Mar 19th, 2018
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. var viewList = function (status) {
  2.  
  3. var url = '@Url.Action("ViewList","Request")?status=' + status + '&type=1';
  4.  
  5. $("#ListBody").load(url, function () {
  6.  
  7. $("#PartialView1").hide();
  8. $("#PartialView2").show();
  9. $("#PartialView3").hide();
  10. $("#PartialView4").hide();
  11. })
  12. }
  13. // "status" is an int type that tells which partial view should display.
Add Comment
Please, Sign In to add comment