How to call a controller action by jQuery

With jQuery you are able to invoke an action of a Asp .Net MVC application’s controller.
This is the code you need:

You can establish the request type (GET, SET and so), whether the request should be asynchronous or not (parameter async true or false), whether the request should be cached or not (parameter cache), a Javascript function to be called in case of success of the server request (parameter success) or in case of request fails (parameter error).
The parameter “data” of the function called in case of success contains the return value by the server call.

However there are many others useful parameters you can use. For a complete list go here. It’s also possible to make the same call but with a Json return value by the $.getJSON funtion.

171 thoughts on “How to call a controller action by jQuery

  1. Pingback: psy-
  2. Pingback: psy online
  3. Pingback: uels ukrain
  4. Pingback: DPTPtNqS
  5. Pingback: qQ8KZZE6
  6. Pingback: D6tuzANh
  7. Pingback: SHKALA TONOV
  8. Pingback: chelovek-iz-90-h
  9. Pingback: 3Hk12Bl
  10. Pingback: 3NOZC44
  11. Pingback: 01211
  12. Pingback: tor-lyubov-i-grom
  13. Pingback: film-tor-2022
  14. Pingback: hd-tor-2022
  15. Pingback: hdorg2.ru
  16. Pingback: Psikholog
  17. Pingback: netstate.ru
  18. Pingback: Link
  19. Pingback: psy
  20. Pingback: bit.ly
  21. Pingback: cleantalkorg2.ru
  22. Pingback: bucha killings
  23. Pingback: War in Ukraine
  24. Pingback: Ukraine
  25. Pingback: sildenafil
  26. Pingback: viagra
  27. Pingback: site
  28. Pingback: sildenafil citrate
  29. Pingback: stats
  30. Pingback: revatio
  31. Pingback: Ukraine-war
  32. Pingback: movies
  33. Pingback: gidonline
  34. Pingback: viagra generic
  35. Pingback: web
  36. Pingback: film.8filmov.ru
  37. Pingback: video
  38. Pingback: film
  39. Pingback: filmgoda.ru
  40. Pingback: rodnoe-kino-ru
  41. Pingback: stat.netstate.ru
  42. Pingback: sY5am
  43. Pingback: Dom drakona
  44. Pingback: JGXldbkj
  45. Pingback: aOuSjapt
  46. Pingback: ìûøëåíèå
  47. Pingback: psikholog moskva
  48. Pingback: Dim Drakona 2022
  49. Pingback: TwnE4zl6
  50. Pingback: psy 3CtwvjS
  51. Pingback: lalochesia
  52. Pingback: film onlinee
  53. Pingback: 3qAIwwN
  54. Pingback: video-2
  55. Pingback: sezons.store
  56. Pingback: psy-news.ru
  57. Pingback: 000-1
  58. Pingback: 3SoTS32
  59. Pingback: 3DGofO7
  60. Pingback: rftrip.ru
  61. Pingback: dolpsy.ru
  62. Pingback: kin0shki.ru
  63. Pingback: 3o9cpydyue4s8.ru
  64. Pingback: mb588.ru
  65. Pingback: newsukraine.ru
  66. Pingback: edu-design.ru
  67. Pingback: tftl.ru
  68. Pingback: brutv
  69. Pingback: site 2023
  70. Pingback: sitestats01
  71. Pingback: 1c789.ru
  72. Pingback: cttdu.ru
  73. Pingback: 1703
  74. Pingback: hdserial2023.ru
  75. Pingback: serialhd2023.ru
  76. Pingback: matchonline2022.ru
  77. Pingback: bit.ly/3OEzOZR
  78. Pingback: bit.ly/3gGFqGq
  79. Pingback: bit.ly/3ARFdXA
  80. Pingback: bit.ly/3ig2UT5
  81. Pingback: bit.ly/3GQNK0J
  82. Pingback: bep5w0Df
  83. Pingback: www
  84. Pingback: icf
  85. Pingback: 24hours-news
  86. Pingback: rusnewsweek
  87. Pingback: uluro-ado
  88. Pingback: irannews.ru
  89. Pingback: klondayk2022
  90. Pingback: tqmFEB3B
  91. Pingback: Autoapprove List
  92. Pingback: mangalib
  93. Pingback: x
  94. Pingback: 9xflix
  95. Pingback: xnxx
  96. Pingback: 123movies
  97. Pingback: kinokrad
  98. Pingback: batmanapollo
  99. Pingback: vsovezdeisrazu
  100. Pingback: 2023
  101. Pingback: ipsychologos
  102. Pingback: yug-grib.ru
  103. Pingback: studio-tatuage.ru
  104. Pingback: video.vipspark.ru
  105. Pingback: vitaliy-abdulov.ru
  106. Pingback: psychophysics.ru
  107. Pingback: meritking
  108. Pingback: child porn
  109. Pingback: meritking
  110. Pingback: grandpashabet
  111. Pingback: My Homepage
  112. Pingback: meritking
  113. Pingback: izmir escort
  114. Pingback: child porn
  115. Pingback: backlinks guide
  116. Pingback: fuck google
  117. Pingback: porn
  118. Pingback: bağcılar escort
  119. Pingback: sex
  120. Pingback: child porn
  121. Pingback: yasam ayavefe
  122. Pingback: yasam ayavefet
  123. Pingback: child porn
  124. Pingback: bursa travesti
  125. Pingback: fuck
  126. Pingback: bmw
  127. Pingback: sex historie
  128. Pingback: rize tumblr
  129. Pingback: hd porn
  130. Pingback: childiren porn
  131. Pingback: inovapin.com
  132. Pingback: ankara psikolog
  133. Pingback: meritking giriş
  134. Pingback: meritking gir
  135. Pingback: silivri avukat

Comments are closed.