Menu 菜单效果出不来,试了好多遍都不行,什么原因?

回复

风清扬 发起了问题 • 1 人关注 • 0 个回复 • 47 次浏览 • 2017-11-09 20:29 • 来自相关话题

官网和github上下载的文件包,都缺少assets/js/jquery.min.js文件,导致代码效果失败

回复

风清扬 发起了问题 • 1 人关注 • 0 个回复 • 31 次浏览 • 2017-11-09 16:37 • 来自相关话题

关于AmazeUi树的子节点为空展开加载数据的问题

回复

安和桥。 回复了问题 • 1 人关注 • 2 个回复 • 50 次浏览 • 2017-11-09 11:02 • 来自相关话题

关于AmazeUi树的子节点为空展开加载数据的问题

回复

安和桥。 发起了问题 • 1 人关注 • 0 个回复 • 23 次浏览 • 2017-11-09 10:22 • 来自相关话题

js表单验证

回复

匿名用户 发起了问题 • 1 人关注 • 0 个回复 • 72 次浏览 • 2017-11-06 16:00 • 来自相关话题

日期控件bug

回复

发起了问题 • 1 人关注 • 0 个回复 • 62 次浏览 • 2017-11-06 15:26 • 来自相关话题

模态窗口不显示遮罩层是不是有 BUG 啊?

回复

panxiaofeng 回复了问题 • 1 人关注 • 2 个回复 • 89 次浏览 • 2017-11-04 22:04 • 来自相关话题

在用Slider的时候回报错 tlrkSlider is not a function 怎么解决? 大哥们

回复

过。 发起了问题 • 1 人关注 • 0 个回复 • 36 次浏览 • 2017-11-04 19:59 • 来自相关话题

amazeui 日期控件 字符串动态生成的input框弹不出日期选择框?

回复

路远马亡 发起了问题 • 1 人关注 • 0 个回复 • 48 次浏览 • 2017-11-04 09:46 • 来自相关话题

react版本报错

回复

匿名用户 发起了问题 • 1 人关注 • 0 个回复 • 49 次浏览 • 2017-11-03 20:12 • 来自相关话题

cscs11

回复

Halcyon Days 发起了问题 • 1 人关注 • 0 个回复 • 32 次浏览 • 2017-11-03 15:39 • 来自相关话题

用 ajax提交表单验证

风中的孩子 发表了文章 • 0 个评论 • 64 次浏览 • 2017-11-03 15:30 • 来自相关话题

<script> $(function () { var $form = $('#doc-vld-msg'); $form.validator({ submit: function () { var formValidity = this.isFormValid(); if (formValidity) { // 验证成功的逻辑 var data = $form.serialize(); data = decodeURIComponent(data, true); $.ajax({ url: "/Member/AddPatients", data: data, type: "POST", dataType: "Json", success: function (data) { } }); } else { // 验证失败的逻辑 } //阻止原生form提交 return false; } }); }) </script>     <script>        $(function () {            var $form = $('#doc-vld-msg');            $form.validator({                submit: function () {                    var formValidity = this.isFormValid();                    if (formValidity) {                        // 验证成功的逻辑                        var data = $form.serialize();                      data = decodeURIComponent(data, true);                        $.ajax({                            url: "/Member/AddPatients",                            data: data,                            type: "POST",                            dataType: "Json",                            success: function (data) {                                                           }                        });                    } else {                        // 验证失败的逻辑                    }                    //阻止原生form提交                    return false;                }            });        })    </script>
[ 查看全部 ]
<p>&nbsp; &nbsp; &lt;script&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; $(function () {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var $form = $(&#39;#doc-vld-msg&#39;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $form.validator({<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; submit: function () {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var formValidity = this.isFormValid();<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (formValidity) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // 验证成功的逻辑<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var data = $form.serialize();</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; data = decodeURIComponent(data, true);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $.ajax({<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; url: &quot;/Member/AddPatients&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; data: data,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; type: &quot;POST&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataType: &quot;Json&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; success: function (data) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } else {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // 验证失败的逻辑<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //阻止原生form提交<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return false;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });<br />&nbsp; &nbsp; &nbsp; &nbsp; })</p><p>&nbsp; &nbsp; &lt;/script&gt;</p>