如何在mvc中使用jquery ajax [英] How to use jquery ajax in mvc
本文介绍了如何在mvc中使用jquery ajax的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用丢失的焦点,鼠标悬停等事件
How do i use the lost focus,mouse over etc event
推荐答案
查看 focusout [ ^ ]和< a href =https://api.jquery.com/blur/>模糊 [ ^ ]事件。
要在JQuery中使用ajax,请使用
Take a look at the focusout[^] and blur[^] events.
To use ajax in JQuery, use
.ajax [ ^ ]。
试试这个
Try this
<script>
var _url = '@Url.Action("ControllerName", "ActionName")'; // url of the action
var _parameters = {parameterName: "somevalue"};
这篇关于如何在mvc中使用jquery ajax的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文