小编Big*_*ppa的帖子

使用jquery检查POST是否成功

我正在尝试编写将弹出的jquery函数,并说Post成功了!如果没有,邮政不成功!我如何使用try catch输入一些jquery?

@using (Html.BeginForm("Admin", "Home", "POST"))
{
<div class="well">
    <section>
        <br>
        <span style="font-weight:bold">Text File Destination:&#160;&#160;&#160;</span>
        <input type="text" name="txt_file_dest" value="@ViewBag.GetTextPath">
        <span style="color:black">&#160;&#160;&#160;Example:</span><span style="color:blue"> \\invincible\\chemistry$\\</span>
        <br>
        <br>
        <span style="font-weight:bold">SQL Connection String:</span>
        <input type="text" name="sql_Connection" value="@ViewBag.GetSqlConnection">
        <span style="color:black">&#160;&#160;&#160;Example:</span> <span style="color:blue"> Server=-</span>
        <br>
        <br>
        <button class="btn btn-success" type="submit" >Save Changes</button>
    </section>
</div>
Run Code Online (Sandbox Code Playgroud)

}

html asp.net-mvc jquery html5

6
推荐指数
2
解决办法
1万
查看次数

标签 统计

asp.net-mvc ×1

html ×1

html5 ×1

jquery ×1